Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(color-picker): alpha support #6265

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
219 commits
Select commit Hold shift + click to select a range
132d243
refactor(alert, notice)!: Renamed properties and updated values (#6042)
macandcheese Dec 15, 2022
ae27e75
refactor(date-picker-month, date-picker-month-header)!: Remove events…
driskull Dec 15, 2022
58a2246
refactor(radio-group)!: remove `event.detail` payload from events (#6…
driskull Dec 15, 2022
65ba931
refactor(chip,combobox-item)!: remove deprecated event payload. (#6028)
anveshmekala Dec 15, 2022
37637ca
refactor(modal,notice,pagination,panel,pick-list-item,popover)!: remo…
anveshmekala Dec 15, 2022
6b53776
refactor(notice)!: remove deprecated properties (#6004)
anveshmekala Dec 15, 2022
1775b92
1.0.0-next.686
github-actions[bot] Dec 15, 2022
b7d8743
refactor!: enabled delegatesFocus (#6056)
benelan Dec 15, 2022
cffec1b
1.0.0-next.687
github-actions[bot] Dec 15, 2022
969a2eb
refactor(button, fab, split-button)!: Update properties and values (#…
macandcheese Dec 15, 2022
9c479ca
refactor(chip)!: Renamed property and updated values (#6058)
macandcheese Dec 15, 2022
30a080b
feat: add iconFlipRtl prop to all components with a convenience icon …
driskull Dec 15, 2022
ed6304a
1.0.0-next.688
github-actions[bot] Dec 15, 2022
e38812f
docs(switch): Remove deprecated event detail doc (#6064)
driskull Dec 16, 2022
bd7e8da
chore(action): Clean up action appearance references (#6067)
macandcheese Dec 16, 2022
f388ad5
chore: Update interface references (#6068)
macandcheese Dec 16, 2022
fc4b8c6
docs: update component READMEs (#6072)
calcite-admin Dec 16, 2022
fd498ab
chore: Clean outdated properties (#6073)
macandcheese Dec 16, 2022
a9724dd
fix(rating): 5312 improve user interface (#5948)
alisonailea Dec 16, 2022
c058ea8
1.0.0-next.689
github-actions[bot] Dec 16, 2022
246de97
fix(combobox): Fix error when typing a custom value (#6071)
driskull Dec 16, 2022
0697e10
1.0.0-next.690
github-actions[bot] Dec 16, 2022
88720fc
refactor(input-date-picker)!: Removed deprecated start, startAsDate, …
eriklharper Dec 16, 2022
3edc2ae
1.0.0-next.691
github-actions[bot] Dec 16, 2022
d824bf7
feat(shell): Add slots for Modal and Alert (#5983)
macandcheese Dec 16, 2022
ffc73fd
1.0.0-next.692
github-actions[bot] Dec 16, 2022
f99b46d
refactor(color-picker-hex-input)!: removed `intl*` properties (#6063)
anveshmekala Dec 16, 2022
0514fae
1.0.0-next.693
github-actions[bot] Dec 16, 2022
5dfa7c6
refactor(modal)!: Renamed CSS variable (#6078)
macandcheese Dec 16, 2022
d1c7722
1.0.0-next.694
github-actions[bot] Dec 16, 2022
4ed3ca0
fix(icon, graphic, loader): Set aria-hidden on internal svg elements …
driskull Dec 16, 2022
b4d0a77
1.0.0-next.695
github-actions[bot] Dec 16, 2022
683cf07
feat(tip,tip-manager): add built-in translations (#6074)
anveshmekala Dec 16, 2022
a4c0dde
1.0.0-next.696
github-actions[bot] Dec 16, 2022
7f7451c
refactor(modal)!: Remove `backgroundColor` property and added a CSS v…
driskull Dec 16, 2022
fb9cc77
1.0.0-next.697
github-actions[bot] Dec 16, 2022
1c7ff2b
feat(shell-panel): add built-in translations (#6079)
anveshmekala Dec 16, 2022
d520b61
1.0.0-next.698
github-actions[bot] Dec 16, 2022
8665410
refactor(shell-panel)!: removed deprecated `intlResize` property (#6082)
anveshmekala Dec 16, 2022
78e0130
1.0.0-next.699
github-actions[bot] Dec 16, 2022
152b898
refactor(accordion, combobox, dropdown, list, tree)!: Remove deprecat…
macandcheese Dec 17, 2022
4b4d8b0
refactor(accordion, dropdown, stepper, tabs): Updates keyboard handli…
macandcheese Dec 17, 2022
31d4f67
docs: update component READMEs (#6089)
calcite-admin Dec 17, 2022
ee532c7
refactor(input-time-picker)!: removed deprecated `locale` property (#…
anveshmekala Dec 17, 2022
234e21a
refactor(time-picker)!: remove target parameter from setFocus (#6088)
benelan Dec 17, 2022
3ebbd83
chore(scrim): Expose css var (#6091)
macandcheese Dec 17, 2022
2e42fc2
refactor(date-picker)!: removed deprecated properties (#6084)
benelan Dec 17, 2022
4c2eaa0
chore(block): Expose css var (#6090)
macandcheese Dec 17, 2022
5542d8e
chore(docs): Cleanup local index page (#6097)
macandcheese Dec 17, 2022
84771ad
chore(button): Update internal css var (#6094)
macandcheese Dec 17, 2022
5c110fc
refactor(input-date-picker)!: remove deprecated event (#6092)
benelan Dec 17, 2022
0a99dc4
refactor(radio-group)!: Update `appearance` value (#6096)
macandcheese Dec 17, 2022
f2b0712
chore(modal): Expose css var (#6093)
macandcheese Dec 17, 2022
0b42a0b
refactor(locale): remove unused property from LocalizaedComponent (#6…
benelan Dec 17, 2022
2a5d6bd
build: update browserslist db (#6102)
calcite-admin Dec 18, 2022
cdacac8
docs: update component READMEs (#6103)
calcite-admin Dec 18, 2022
845f365
refactor(input)!: remove deprecated event payload (#6099)
benelan Dec 18, 2022
3de8344
1.0.0-next.700
benelan Dec 18, 2022
945c984
1.0.0-next.701
benelan Dec 18, 2022
54df20f
chore(utils): Cleanup `focusElementInGroup` helper (#6101)
macandcheese Dec 18, 2022
de7f777
refactor(translations): prepend component name to Messages type (#6104)
benelan Dec 18, 2022
b47793e
chore(types): Adds missing value to SelectionMode (#6107)
macandcheese Dec 19, 2022
4299e5e
docs: update component READMEs (#6108)
calcite-admin Dec 19, 2022
ebb422a
docs(changelog): resort and modify indent levels and styling (#6110)
geospatialem Dec 19, 2022
ed8ae06
chore(date-picker): Remove unused deprecated interface. (#6111)
driskull Dec 19, 2022
c13362c
docs(changelog): context to `calciteDropdownItemSelect` event (#6114)
geospatialem Dec 19, 2022
c683f6d
chore: remove unused util methods & deprecated `intl*` property refer…
anveshmekala Dec 19, 2022
32a7405
docs(rating,input-date-picker): remove deprecated properties from usa…
anveshmekala Dec 19, 2022
4851b63
feat(radio-group): Add appearance type (#6116)
macandcheese Dec 19, 2022
0083f7c
1.0.0-beta.99
benelan Dec 19, 2022
498aa45
docs: update component READMEs (#6122)
calcite-admin Dec 20, 2022
ecd2aa6
build(deps): bump chromatic from 6.12.0 to 6.14.0 (#6127)
dependabot[bot] Dec 20, 2022
e5384d5
build(deps): bump eslint from 8.29.0 to 8.30.0 (#6126)
dependabot[bot] Dec 20, 2022
de7e76e
build(deps): bump @typescript-eslint/eslint-plugin from 5.45.1 to 5.4…
dependabot[bot] Dec 20, 2022
0050833
build(deps): bump @types/yargs from 17.0.16 to 17.0.17 (#6124)
dependabot[bot] Dec 20, 2022
7555654
chore(docs): Fix shell slot doc (#6120)
macandcheese Dec 20, 2022
f490e5e
fix(tooltip): Fix hover logic for elements within shadowRoot (#6119)
driskull Dec 20, 2022
90ddff1
fix(time-picker): high contrast visibility of outlines in focus and h…
mpriour Dec 20, 2022
7ab7822
ci(chromatic): explicitly auto-accept changes to master as baseline (…
benelan Dec 20, 2022
49f6387
refactor(stepper)!: remove event.detail payload from event and add pr…
driskull Dec 21, 2022
92c5b37
refactor(radio-button-group)!: remove `event.detail` payload from eve…
driskull Dec 21, 2022
bab2cff
docs: update component READMEs (#6142)
calcite-admin Dec 21, 2022
b763acd
docs(tabs): Update tab slot. (#6145)
driskull Dec 21, 2022
733e175
chore: Updated t9n bundles. (#6144)
anveshmekala Dec 21, 2022
73bbbfe
Merge branch 'master' of github.com:Esri/calcite-components into astu…
alisonailea Dec 21, 2022
806ca32
feat(popover, modal): Add the ability to update focus trap elements a…
driskull Dec 21, 2022
34b97c4
build(vscode): add completion and hover support (#6150)
benelan Dec 21, 2022
b0564f9
refactor(date-picker): Remove deprecated startAsDate and endAsDate pr…
eriklharper Dec 21, 2022
6c07f50
chore: add esri monitor team label to issue templates (#6155)
geospatialem Dec 21, 2022
e48096c
feat(tab-nav): Add `selectedTitle` property (#6149)
driskull Dec 22, 2022
fb241ce
refactor(modal, panel, popover)!: remove `focusId` param from `setFoc…
driskull Dec 22, 2022
4156165
fix(color-picker): remove unused variables
alisonailea Dec 22, 2022
eb5a6a0
docs: update component READMEs (#6163)
calcite-admin Dec 22, 2022
e567060
refactor(popover)!: remove `toggle` method. (#6161)
driskull Dec 22, 2022
dc6733f
chore(color-picker): add missing message in `en` bundle (#6165)
anveshmekala Dec 22, 2022
94734ef
refactor(combobox-item)!: remove `toggleSelected` method. (#6162)
driskull Dec 23, 2022
7e9cbc5
docs: update component READMEs (#6168)
calcite-admin Dec 23, 2022
9000c31
build: update browserslist db (#6171)
calcite-admin Dec 25, 2022
94037a8
chore(modal): Remove invalid kind values (#6169)
macandcheese Dec 27, 2022
f9fe230
fix(date-picker): modify weekStart value for ar locale (#6154)
annierm18 Dec 27, 2022
549187c
1.0.0-next.702
github-actions[bot] Dec 27, 2022
08087ed
build(deps): bump @typescript-eslint/parser from 5.45.1 to 5.47.1 (#6…
dependabot[bot] Dec 27, 2022
7b32122
build(deps): bump calcite-ui-icons from 3.20.5 to 3.20.7 (#6170)
macandcheese Dec 27, 2022
1ba4762
docs: update component READMEs (#6184)
calcite-admin Dec 28, 2022
707d829
build(deps): bump @storybook/addon-docs from 6.5.14 to 6.5.15 (#6174)
dependabot[bot] Dec 28, 2022
f327069
build(deps): bump @typescript-eslint/eslint-plugin from 5.47.0 to 5.4…
dependabot[bot] Dec 28, 2022
7f7bb31
build(deps): bump storybook from 6.5.14 to 6.5.15 (#6176)
dependabot[bot] Dec 28, 2022
0531c53
ci(chromatic): set higher diffThreshold and delay for unstable tests …
benelan Dec 28, 2022
2fe424b
docs(flow-item): make showBackButton internal (#6179)
benelan Dec 28, 2022
ff8905a
docs: consistent slot messaging across components (#6190)
geospatialem Dec 28, 2022
8b42b99
refactor(pagination)!: Remove css variable (#6183)
macandcheese Dec 28, 2022
5efbfff
build(deps): update dependencies. (#6189)
driskull Dec 28, 2022
7e7e578
1.0.0-next.703
github-actions[bot] Dec 28, 2022
f416b9f
chore(notice): Remove invalid kind values (#6186)
macandcheese Dec 28, 2022
8418944
chore(alert): Remove invalid kind values (#6187)
macandcheese Dec 28, 2022
e9b0f87
ci(actions): update additional actions using the deprecated node runn…
benelan Dec 28, 2022
7198cc8
docs(changelog): update to incorporate missing changes since beta.99 …
geospatialem Dec 28, 2022
b2ca9b3
docs: update component READMEs (#6196)
calcite-admin Dec 29, 2022
c5985aa
docs(scrim): remove extraneous line (#6202)
geospatialem Dec 29, 2022
65478be
fix(input-date-picker): update input value when changing locale (#6197)
benelan Dec 29, 2022
688f2e0
1.0.0-next.704
github-actions[bot] Dec 29, 2022
5b41425
ci: fix ts/eslint errors in demos (#6204)
benelan Dec 29, 2022
f1d73a8
fix(modal): close button does not change header height (#6205)
benelan Dec 29, 2022
d26d900
docs(modal): provide context to setFocus method (#6206)
geospatialem Dec 29, 2022
8e4efd9
1.0.0-next.705
github-actions[bot] Dec 29, 2022
2d8fb41
docs: update component READMEs (#6210)
calcite-admin Dec 30, 2022
d9eb215
fix(input, input-number): increment/decrement to the min/max when val…
benelan Dec 30, 2022
a9c128f
ci: fix timing issue in esri team labeler action (#6192)
benelan Dec 30, 2022
fadfb53
1.0.0-next.706
github-actions[bot] Dec 30, 2022
a2ef8f5
build: update browserslist db (#6215)
calcite-admin Jan 1, 2023
0fbcb99
docs: update setFocus method across components (#6212)
geospatialem Jan 3, 2023
c0e1813
ci: make sure action doesn't remove existing team label (#6225)
benelan Jan 3, 2023
b79db35
refactor(panel, shell-panel, flow-item)!: Remove properties, update a…
macandcheese Jan 4, 2023
f4a55a8
1.0.0-next.707
github-actions[bot] Jan 4, 2023
66dd692
fix(alert): Correctly dismiss after hovering (#6228)
macandcheese Jan 5, 2023
c5581df
1.0.0-next.708
github-actions[bot] Jan 5, 2023
6d3d94c
refactor(radio-group, radio-group-item)!: Renames radio group compone…
macandcheese Jan 5, 2023
e410300
1.0.0-next.709
github-actions[bot] Jan 5, 2023
6f928e1
docs(changelog): modify indent levels (#6234)
geospatialem Jan 5, 2023
7038fc8
docs(list,pick-list,value-list): remove duplicate read only refs (#6232)
geospatialem Jan 5, 2023
d892149
docs(tooltip): assistive technology story support (#6221)
geospatialem Jan 5, 2023
6b43b91
fix(list-item): use pointer cursor when selection mode is none (#6213)
benelan Jan 5, 2023
7d9b849
build(deps): bump eslint-config-prettier from 8.5.0 to 8.6.0 (#6218)
dependabot[bot] Jan 5, 2023
2afde8c
docs: update component READMEs (#6227)
calcite-admin Jan 5, 2023
0b39b2c
1.0.0-next.710
github-actions[bot] Jan 5, 2023
6753a10
build(deps): bump @types/yargs from 17.0.17 to 17.0.19 (#6236)
dependabot[bot] Jan 5, 2023
9e6533c
build(deps): bump json5 from 1.0.1 to 1.0.2 (#6226)
dependabot[bot] Jan 5, 2023
4b30cef
build(deps): bump husky from 8.0.2 to 8.0.3 (#6220)
dependabot[bot] Jan 5, 2023
4aa1f7e
fix(tree-item): overflow slotted elements are no longer hidden (#5261)
anveshmekala Jan 5, 2023
0480e0c
1.0.0-next.711
github-actions[bot] Jan 5, 2023
2ef9951
docs(pick-list,pick-list-group,pick-list-item,value-list,value-list-i…
geospatialem Jan 6, 2023
8f65be1
refactor(segmented-control)!: Update event name (#6239)
macandcheese Jan 6, 2023
93545a2
1.0.0-next.712
github-actions[bot] Jan 6, 2023
8a610f7
test(color-picker): fix tests for alpha feature
alisonailea Jan 6, 2023
c105c35
fix(color-picker)!: remove deprecated props
alisonailea Jan 6, 2023
6a29676
fix(color-picker): support disabled
alisonailea Jan 6, 2023
1218d14
refactor(styles)!: Use "mode" nomenclature instead of "theme" (#6164)
macandcheese Jan 6, 2023
966ce8a
1.0.0-next.713
github-actions[bot] Jan 6, 2023
897a794
docs(changelog): modify indentation levels (#6246)
geospatialem Jan 6, 2023
00f557e
test(color-picker): opacityInput tests failing
alisonailea Jan 6, 2023
fd10ac5
fix(input, input-number): nudge buttons increment/decrement once per …
benelan Jan 7, 2023
cae79c6
1.0.0-next.714
github-actions[bot] Jan 7, 2023
b5e3f7f
test(color-picker): clean up tests
alisonailea Jan 7, 2023
c350f11
build: update browserslist db (#6251)
calcite-admin Jan 9, 2023
662c71d
docs: update component READMEs (#6238)
calcite-admin Jan 9, 2023
91a7143
docs: add context to `iconFlipRtl` for components with the `FlipConte…
geospatialem Jan 9, 2023
b508085
refactor(card)!: rename footer-leading and footer-trailing slots to f…
benelan Jan 9, 2023
bfb6273
1.0.0-next.715
github-actions[bot] Jan 9, 2023
f556efc
feat(panel): Allow Panel to fill height of parent (#6256)
macandcheese Jan 9, 2023
b424f47
1.0.0-next.716
github-actions[bot] Jan 9, 2023
ff420e1
docs(changelog): modify breaking changes indentation level (#6257)
geospatialem Jan 9, 2023
ceafcb0
build(deps): bump @typescript-eslint/eslint-plugin from 5.47.1 to 5.4…
dependabot[bot] Jan 9, 2023
8197c18
fix(input, input-number, input-text): allow slotted action to be inde…
benelan Jan 10, 2023
c73a9e4
1.0.0-next.717
github-actions[bot] Jan 10, 2023
c58bf74
build(deps): bump trim-newlines and meow (#6258)
dependabot[bot] Jan 10, 2023
a97e589
docs: update component READMEs (#6259)
calcite-admin Jan 10, 2023
21beb38
Merge branch 'master' of github.com:Esri/calcite-components into astu…
alisonailea Jan 10, 2023
ceadb2e
test(color-picker): skip unstable tests
alisonailea Jan 10, 2023
0868fdb
build(deps): Bump axe-core from 4.6.1 to 4.6.2 (#6264)
dependabot[bot] Jan 10, 2023
6253ef4
style: lint and use tsserver LSP to organize imports (#6260)
benelan Jan 10, 2023
7ade78e
Merge branch 'master' of github.com:Esri/calcite-components into astu…
alisonailea Jan 11, 2023
24e6d32
fix(button): neutral and outline button now has correct border color …
Elijbet Jan 11, 2023
59177a5
Merge branch 'master' into astump/749-color-picker-alpha-support
alisonailea Jan 11, 2023
4f22f97
1.0.0-next.718
github-actions[bot] Jan 11, 2023
051cb3f
fix(combobox-item): bumping the scale of icon to M when parent combob…
Elijbet Jan 11, 2023
bd10964
1.0.0-next.719
github-actions[bot] Jan 11, 2023
9b62254
refactor(accordion)!: remove minimal and default values from appearan…
benelan Jan 11, 2023
fc0dd67
1.0.0-next.720
github-actions[bot] Jan 11, 2023
efd08f1
docs(changelog): reorganize and set indentation (#6271)
geospatialem Jan 11, 2023
a6bb7da
fix(accordion-item): bumping the scale of icon to M when parent accor…
Elijbet Jan 12, 2023
d73b376
1.0.0-next.721
github-actions[bot] Jan 12, 2023
828fcc3
refactor(input-time-picker)!: remove string payload from event. (#6275)
anveshmekala Jan 12, 2023
6cf1264
1.0.0-next.722
github-actions[bot] Jan 12, 2023
90be19c
refactor(color-picker)!: remove appearance property (#6276)
benelan Jan 12, 2023
a408895
1.0.0-next.723
github-actions[bot] Jan 12, 2023
1bdb9c1
feat(date-picker): Update border color (#6273)
macandcheese Jan 13, 2023
2cd4999
1.0.0-next.724
github-actions[bot] Jan 13, 2023
151ff52
docs: update component READMEs (#6274)
calcite-admin Jan 13, 2023
de11401
feat(modal)!: Updates accepted `width` values, adds css variables for…
macandcheese Jan 13, 2023
2b8656a
1.0.0-next.725
github-actions[bot] Jan 13, 2023
e8edf6b
fix(tab, tabs, tab-title, input, input-number, input-text, input-date…
Elijbet Jan 14, 2023
eefddf1
1.0.0-next.726
github-actions[bot] Jan 14, 2023
8957e8d
fix(dropdown-item): bumping the scale of icon to M when parent dropdo…
Elijbet Jan 15, 2023
0921504
refactor(tip)!: rename `dismissed` to `closed` (#6297)
anveshmekala Jan 17, 2023
4ff54e8
Merge branch 'master' of github.com:Esri/calcite-components into astu…
alisonailea Jan 17, 2023
ddda2eb
1.0.0-next.727
github-actions[bot] Jan 17, 2023
a810d7a
Merge branch 'master' into astump/749-color-picker-alpha-support
alisonailea Jan 17, 2023
d4ff274
build: update browserslist db (#6290)
calcite-admin Jan 18, 2023
2d76ec7
docs(changelog): organize and indent breaking changes (#6302)
geospatialem Jan 18, 2023
a81d969
docs: update component READMEs (#6288)
calcite-admin Jan 18, 2023
b266a01
build(deps): Bump @typescript-eslint/parser from 5.47.1 to 5.48.2 (#6…
dependabot[bot] Jan 18, 2023
7ff1c7d
fix(date-picker): range value property updates correctly (#6289)
eriklharper Jan 18, 2023
985cc4f
1.0.0-next.728
github-actions[bot] Jan 18, 2023
ed30588
fix(date-picker): end-range is now rounded and has the correct box-sh…
Elijbet Jan 20, 2023
4f7f8c3
1.0.0-next.729
github-actions[bot] Jan 20, 2023
07d1b6e
build: bump calcite-colors to latest (#6318)
eriklharper Jan 20, 2023
f60fcfd
Merge branch 'master' into astump/749-color-picker-alpha-support
alisonailea Jan 20, 2023
35dab2c
Merge branch 'jcfranco/749-add-support-for-alpha' of github.com:Esri/…
alisonailea Jan 23, 2023
9324239
Merge branch 'astump/749-color-picker-alpha-support' of github.com:Es…
alisonailea Jan 23, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"plugin:jsdoc/recommended",
"prettier"
],
"ignorePatterns": ["dist", "docs", "www"],
"ignorePatterns": ["dist", "docs", "hydrate", "www"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig-eslint.json",
Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/accessibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ body:
- ArcGIS Map Viewer
- ArcGIS Marketplace
- ArcGIS Mission
- ArcGIS Monitor
- ArcGIS Network Analyst
- ArcGIS Online
- ArcGIS Scene Viewer
Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ body:
- ArcGIS Map Viewer
- ArcGIS Marketplace
- ArcGIS Mission
- ArcGIS Monitor
- ArcGIS Network Analyst
- ArcGIS Online
- ArcGIS Scene Viewer
Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/enhancement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ body:
- ArcGIS Map Viewer
- ArcGIS Marketplace
- ArcGIS Mission
- ArcGIS Monitor
- ArcGIS Network Analyst
- ArcGIS Online
- ArcGIS Scene Viewer
Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/new-component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ body:
- ArcGIS Map Viewer
- ArcGIS Marketplace
- ArcGIS Mission
- ArcGIS Monitor
- ArcGIS Network Analyst
- ArcGIS Online
- ArcGIS Scene Viewer
Expand Down
21 changes: 14 additions & 7 deletions .github/workflows/add-esri-product-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,23 @@ jobs:
}

/** remove any existing product label(s) */
const labels = currentLabels
.filter((l) => !/Issues logged by/.test(l.description))
.map((l) => l.name);
const existingProductLabels = currentLabels
.filter((l) => /Issues logged by/.test(l.description) && l.name !== product)
.forEach(
async (l) =>
await github.rest.issues.removeLabel({
issue_number,
owner,
repo,
name: l.name,
})
);

labels.push(product);

await github.rest.issues.setLabels({
/** add new product label */
await github.rest.issues.addLabels({
issue_number,
owner,
repo,
labels,
labels: [product],
});
}
1 change: 1 addition & 0 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
exitOnceUploaded: true
autoAcceptChanges: master
env:
STORYBOOK_SCREENSHOT_TEST_BUILD: true
CHROMATIC_DIFF_THRESHOLD: ${{ secrets.CHROMATIC_DIFF_THRESHOLD }}
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/need-info-verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@ name: "Need Info - Verify"
on:
issues:
types: [labeled, edited]
branches: [master]
issue_comment:
types: [created, edited]
branches: [master]
jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: benelan/need-info-action@v1.3.1
- uses: benelan/need-info-action@v2.0.0
2 changes: 1 addition & 1 deletion .github/workflows/pr-milestone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ jobs:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: benelan/milestone-action@v1.3.1
- uses: benelan/milestone-action@v2.0.0
2 changes: 1 addition & 1 deletion .github/workflows/pr-semantic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
semantic:
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v3.4.6
- uses: amannn/action-semantic-pull-request@v5.0.2
with:
validateSingleCommit: true
env:
Expand Down
2 changes: 1 addition & 1 deletion .lintstagedrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"*.{json,md,html,yml}": ["prettier --write"],
"*.js": ["eslint --ext .js --fix", "prettier --write"],
"*.scss": ["stylelint --fix", "prettier --write"],
"*.{ts,tsx}": ["eslint --ext .ts,.tsx --fix", "prettier --write"]
"*/!(assets)/*.{ts,tsx}": ["eslint --ext .ts,.tsx --fix", "prettier --write"]
}
8 changes: 4 additions & 4 deletions .storybook/helpers.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import * as icons from "@esri/calcite-ui-icons";
import { boolean as booleanKnob } from "@storybook/addon-knobs";
import { THEMES } from "../src/utils/resources";
import { ThemeName } from "../src/components/interfaces";
import { Parameters } from "@storybook/api";
import { ModeName } from "../src/components/interfaces";
import { MODES } from "../src/utils/resources";

// we can get all unique icon names from all size 16 non-filled icons.
export const iconNames = Object.keys(icons)
Expand Down Expand Up @@ -30,8 +30,8 @@ export const setKnobs = ({ story, knobs }: { story: string; knobs: { name: strin
.join("")}"`;
};

export const setTheme = (value: ThemeName) => `${THEMES.map(
(theme) => `document.body.classList.toggle('${theme.className}', ${(theme.name === value).toString()});`
export const setMode = (value: ModeName) => `${MODES.map(
(mode) => `document.body.classList.toggle('${mode.className}', ${(mode.name === value).toString()});`
).join("")}
`;

Expand Down
22 changes: 11 additions & 11 deletions .storybook/preview.ts
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
import { themes, globalDocsPage, parseReadme } from "./utils";
import { Theme as Mode } from "storybook-addon-themes/dist/models/Theme";
import { withDirection } from "storybook-rtl-addon";
import { Theme } from "storybook-addon-themes/dist/models/Theme";
import { globalDocsPage, modes, parseReadme } from "./utils";

declare global {
interface Window {}
}

const themeBodyClassDecorator = (Story: () => any, context: any) => {
const themes = context.parameters.themes;
const modeBodyClassDecorator = (Story: () => any, context: any) => {
const modes = context.parameters.modes;

themes?.list?.forEach((theme: Theme) => {
const isDefault = theme.name === themes.default;
if (Array.isArray(theme.class)) {
theme.class.forEach((className) => document.body.classList.toggle(className, isDefault));
modes?.list?.forEach((mode: Mode) => {
const isDefault = mode.name === modes.default;
if (Array.isArray(mode.class)) {
mode.class.forEach((className) => document.body.classList.toggle(className, isDefault));
} else {
theme.class && document.body.classList.toggle(theme.class, isDefault);
mode.class && document.body.classList.toggle(mode.class, isDefault);
}
});

return Story();
};

export const decorators = [withDirection, themeBodyClassDecorator];
export const decorators = [withDirection, modeBodyClassDecorator];
export const parameters = {
a11y: {
element: "#root",
config: {},
options: {},
manual: false
},
themes,
modes,
docs: {
extractComponentDescription: (_component, { notes }) => {
if (notes) {
Expand Down
14 changes: 7 additions & 7 deletions .storybook/utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { CSS_UTILITY } from "../src/utils/resources";

import { colors } from "../node_modules/@esri/calcite-colors/dist/colors";
import { Description, DocsPage } from "@storybook/addon-docs";
import { Theme } from "storybook-addon-themes/dist/models/Theme";
import { Theme as Mode } from "storybook-addon-themes/dist/models/Theme";
import React from "react";

const autoValue = {
Expand All @@ -36,30 +36,30 @@ const darkValue = {
value: colors["blk-210"]
};

const list: Theme[] = [
const list: Mode[] = [
{
name: lightValue.name,
class: CSS_UTILITY.lightTheme,
class: CSS_UTILITY.lightMode,
color: lightValue.value
},
{
name: darkValue.name,
class: CSS_UTILITY.darkTheme,
class: CSS_UTILITY.darkMode,
color: darkValue.value
},
{
name: autoValue.name,
class: CSS_UTILITY.autoTheme,
class: CSS_UTILITY.autoMode,
color: autoValue.value
}
];

export const themes = {
export const modes = {
default: lightValue.name,
list
};

export const themesDarkDefault = {
export const modesDarkDefault = {
default: darkValue.name,
list
};
Expand Down
6 changes: 5 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,9 @@
"editor.formatOnSave": true,
"editor.quickSuggestions": {
"strings": true
}
},
"html.customData": [
"./dist/extras/vscode-data.json",
"./node_modules/@esri/calcite-components/dist/extras/vscode-data.json"
]
}
Loading