@innovaccer/design-system 2.20.0 → 2.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +68 -12
- package/dist/.lib/tsconfig.type.tsbuildinfo +37 -30
- package/dist/core/components/atoms/_chip/index.d.ts +2 -0
- package/dist/core/components/atoms/chip/Chip.d.ts +2 -0
- package/dist/core/components/atoms/dropdown/DropdownButton.d.ts +2 -0
- package/dist/core/components/atoms/dropdown/option/index.d.ts +2 -1
- package/dist/core/components/atoms/input/Input.d.ts +2 -1
- package/dist/core/components/atoms/linkButton/LinkButton.d.ts +2 -0
- package/dist/core/components/atoms/metaList/Meta.d.ts +2 -0
- package/dist/core/components/atoms/metricInput/MetricInput.d.ts +2 -1
- package/dist/core/components/molecules/chipInput/ChipInput.d.ts +1 -0
- package/dist/core/components/molecules/tabs/Tabs.d.ts +2 -0
- package/dist/core/utils/navigationHelper.d.ts +2 -0
- package/dist/index.esm.js +49 -22
- package/dist/index.js +49 -22
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.br +0 -0
- package/dist/index.umd.js.gz +0 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,18 @@
|
|
|
1
|
-
## 2.
|
|
1
|
+
## 2.21.0 (2023-09-18)
|
|
2
2
|
|
|
3
3
|
### Highlights
|
|
4
4
|
|
|
5
|
-
- feat(
|
|
6
|
-
- feat(
|
|
5
|
+
- feat(metricInput): add icon variations property in metric input component (3469d1b7)
|
|
6
|
+
- feat(linkButton): add icon variations property in link button component (1c51679b)
|
|
7
|
+
- feat(chip): add icon variations property in chip component (9770c92a)
|
|
8
|
+
- feat(chipGroup): add icon variations property in chip group component (53682f18)
|
|
9
|
+
- feat(chip): add icon variations property in chip input component (cf29c673)
|
|
10
|
+
- feat(input): add icon variations property in input component (59902576)
|
|
11
|
+
- feat(verticalNav): add icon variations property in vertical nav component (828a7066)
|
|
12
|
+
- feat(horizontalNav): add icon variations property in horizontal nav component (d058d919)
|
|
13
|
+
- feat(tab): add icon variations property in tab component (b3a6615a)
|
|
14
|
+
- feat(dropdown): add icon variations property in dropdown component (bfcae4bd)
|
|
15
|
+
- feat(metalist): add icon variations property in metalist component (ce7daba2)
|
|
7
16
|
|
|
8
17
|
### Breaking changes
|
|
9
18
|
|
|
@@ -11,7 +20,7 @@ NA
|
|
|
11
20
|
|
|
12
21
|
### Migration guide
|
|
13
22
|
|
|
14
|
-
|
|
23
|
+
NA
|
|
15
24
|
|
|
16
25
|
### Deprecations
|
|
17
26
|
|
|
@@ -19,17 +28,21 @@ NA
|
|
|
19
28
|
|
|
20
29
|
### Features
|
|
21
30
|
|
|
22
|
-
- feat(
|
|
23
|
-
- feat(
|
|
24
|
-
- feat(
|
|
25
|
-
- feat(
|
|
31
|
+
- feat(metricInput): add icon variations property in metric input component (3469d1b7)
|
|
32
|
+
- feat(linkButton): add icon variations property in link button component (1c51679b)
|
|
33
|
+
- feat(chip): add icon variations property in chip component (9770c92a)
|
|
34
|
+
- feat(chipGroup): add icon variations property in chip group component (53682f18)
|
|
35
|
+
- feat(chip): add icon variations property in chip input component (cf29c673)
|
|
36
|
+
- feat(input): add icon variations property in input component (59902576)
|
|
37
|
+
- feat(verticalNav): add icon variations property in vertical nav component (828a7066)
|
|
38
|
+
- feat(horizontalNav): add icon variations property in horizontal nav component (d058d919)
|
|
39
|
+
- feat(tab): add icon variations property in tab component (b3a6615a)
|
|
40
|
+
- feat(dropdown): add icon variations property in dropdown component (bfcae4bd)
|
|
41
|
+
- feat(metalist): add icon variations property in metalist component (ce7daba2)
|
|
26
42
|
|
|
27
43
|
### Fixes
|
|
28
44
|
|
|
29
|
-
|
|
30
|
-
- fix(dateRangePicker): fix range selection behaviour
|
|
31
|
-
- fix(chipinput): update chipinput error state
|
|
32
|
-
- fix(input): update icon to icon component in action button
|
|
45
|
+
NA
|
|
33
46
|
|
|
34
47
|
### Improvements
|
|
35
48
|
|
|
@@ -41,6 +54,49 @@ NA
|
|
|
41
54
|
|
|
42
55
|
---
|
|
43
56
|
|
|
57
|
+
## 2.20.0 (2023-09-08)
|
|
58
|
+
|
|
59
|
+
### Highlights
|
|
60
|
+
|
|
61
|
+
- feat(icon): migration to material symbols from material icons (b4677f51)
|
|
62
|
+
- feat(card): add action card component (1f6f2a86)
|
|
63
|
+
|
|
64
|
+
### Breaking changes
|
|
65
|
+
|
|
66
|
+
NA
|
|
67
|
+
|
|
68
|
+
### Migration guide
|
|
69
|
+
|
|
70
|
+
- feat(icon): material icons are migrated to material symbols. Need to update the test snapshots to update icon name (if used anywhere). (b4677f51)
|
|
71
|
+
|
|
72
|
+
### Deprecations
|
|
73
|
+
|
|
74
|
+
NA
|
|
75
|
+
|
|
76
|
+
### Features
|
|
77
|
+
|
|
78
|
+
- feat(icon): migration to material symbols from material icons (b4677f51)
|
|
79
|
+
- feat(card): add action card component (1f6f2a86)
|
|
80
|
+
- feat(button): add icon variations property in button component (615bde8f)
|
|
81
|
+
- feat(input): add icon variations property in action button in input component (336dc41e)
|
|
82
|
+
|
|
83
|
+
### Fixes
|
|
84
|
+
|
|
85
|
+
- fix(datepicker): update selection chip to action chip in preset story in patterns (db5d8275)
|
|
86
|
+
- fix(dateRangePicker): fix range selection behaviour (2181bf0c)
|
|
87
|
+
- fix(chipinput): update chipinput error state (f5aa019d)
|
|
88
|
+
- fix(input): update icon to icon component in action button (336dc41e)
|
|
89
|
+
|
|
90
|
+
### Improvements
|
|
91
|
+
|
|
92
|
+
- chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.5 (a0f9cd0e)
|
|
93
|
+
|
|
94
|
+
### Documentation
|
|
95
|
+
|
|
96
|
+
NA
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
44
100
|
## 2.19.0 (2023-08-25)
|
|
45
101
|
|
|
46
102
|
### Highlights
|
|
@@ -452,13 +452,13 @@
|
|
|
452
452
|
"affectsGlobalScope": false
|
|
453
453
|
},
|
|
454
454
|
"../../core/components/atoms/_chip/index.tsx": {
|
|
455
|
-
"version": "
|
|
456
|
-
"signature": "
|
|
455
|
+
"version": "36cdefb512bd319b88e809f7054666b88b82d222745832547919b4708f64a7d0",
|
|
456
|
+
"signature": "8c348ffb33dec860a0009e3c6f9ccd55d272ef6d0e9fa71ecc87b8c82987306c",
|
|
457
457
|
"affectsGlobalScope": false
|
|
458
458
|
},
|
|
459
459
|
"../../core/components/atoms/chip/Chip.tsx": {
|
|
460
|
-
"version": "
|
|
461
|
-
"signature": "
|
|
460
|
+
"version": "4c656b1f3e6e805b7b7f77dfa063de69a47437b764794244910f831e4b86106d",
|
|
461
|
+
"signature": "027f3a0b5a47e92e0bc69afa0643f29600d2f7a2dd7c3de00b785aa1dce9ff1e",
|
|
462
462
|
"affectsGlobalScope": false
|
|
463
463
|
},
|
|
464
464
|
"../../core/components/atoms/chip/index.tsx": {
|
|
@@ -467,7 +467,7 @@
|
|
|
467
467
|
"affectsGlobalScope": false
|
|
468
468
|
},
|
|
469
469
|
"../../core/components/atoms/chipGroup/ChipGroup.tsx": {
|
|
470
|
-
"version": "
|
|
470
|
+
"version": "92c0578662602287ed6f671a02583810ed136cd36eedd26dee09dd0216325c06",
|
|
471
471
|
"signature": "d2201bd9d17a850423f332b2e9cee897f467a30aad8be0643f8ef2ad55334d51",
|
|
472
472
|
"affectsGlobalScope": false
|
|
473
473
|
},
|
|
@@ -542,7 +542,7 @@
|
|
|
542
542
|
"affectsGlobalScope": false
|
|
543
543
|
},
|
|
544
544
|
"../../core/components/atoms/dropdown/option/IconOption.tsx": {
|
|
545
|
-
"version": "
|
|
545
|
+
"version": "6ab12421809ee6ed997b27db3cb6e7d56b3932987eec0d4aeb8fc97606d7c8f7",
|
|
546
546
|
"signature": "57606d84ad41d8005f808836fa817146dfff6a01d81eb4cc208291852e43d630",
|
|
547
547
|
"affectsGlobalScope": false
|
|
548
548
|
},
|
|
@@ -557,8 +557,8 @@
|
|
|
557
557
|
"affectsGlobalScope": false
|
|
558
558
|
},
|
|
559
559
|
"../../core/components/atoms/dropdown/DropdownButton.tsx": {
|
|
560
|
-
"version": "
|
|
561
|
-
"signature": "
|
|
560
|
+
"version": "61f417555670c39c2047c0aa0c9380f1d25a1d1fa355e9c12c174a0df06415aa",
|
|
561
|
+
"signature": "b9ba9951af804510e8439167b2a6ae124a2762b25992735d4f6cf72aef9a6e07",
|
|
562
562
|
"affectsGlobalScope": false
|
|
563
563
|
},
|
|
564
564
|
"../../core/components/atoms/placeholderParagraph/PlaceholderParagraph.tsx": {
|
|
@@ -597,13 +597,13 @@
|
|
|
597
597
|
"affectsGlobalScope": false
|
|
598
598
|
},
|
|
599
599
|
"../../core/components/atoms/dropdown/DropdownList.tsx": {
|
|
600
|
-
"version": "
|
|
600
|
+
"version": "f20bd7c8483bfcd902046dbf9e6cafe1787357c6bf9a5db1209774a553aec025",
|
|
601
601
|
"signature": "f5f7fd2712fd484caf1cfe54b35121c5216dfde74ce28557e299e3b1899e75af",
|
|
602
602
|
"affectsGlobalScope": false
|
|
603
603
|
},
|
|
604
604
|
"../../core/components/atoms/dropdown/option/index.tsx": {
|
|
605
|
-
"version": "
|
|
606
|
-
"signature": "
|
|
605
|
+
"version": "7f8b2fefddeba75d65d0c01c11fda1ccee89747694b7e7ca1777afdf74dbb59e",
|
|
606
|
+
"signature": "e76f29821abde3f990dbd8da16ed0a3202bac844001dc22730cfc27a9ac971d0",
|
|
607
607
|
"affectsGlobalScope": false
|
|
608
608
|
},
|
|
609
609
|
"../../core/components/organisms/timePicker/utility/searchUtils.tsx": {
|
|
@@ -632,7 +632,7 @@
|
|
|
632
632
|
"affectsGlobalScope": false
|
|
633
633
|
},
|
|
634
634
|
"../../core/components/atoms/dropdown/Dropdown.tsx": {
|
|
635
|
-
"version": "
|
|
635
|
+
"version": "bdf4621d19ed1ab8aa94c7befe6e7383011683ba3a1a3297a5bc87173b8e2269",
|
|
636
636
|
"signature": "fd7e7c7fcf71a2aeba04c61ddf7aac48617e1e2c19e1438335e1a703962beb73",
|
|
637
637
|
"affectsGlobalScope": false
|
|
638
638
|
},
|
|
@@ -662,8 +662,8 @@
|
|
|
662
662
|
"affectsGlobalScope": false
|
|
663
663
|
},
|
|
664
664
|
"../../core/components/atoms/input/Input.tsx": {
|
|
665
|
-
"version": "
|
|
666
|
-
"signature": "
|
|
665
|
+
"version": "4e8bc1d5110bc7258c60e8e8022cb24757d21c2677c0084d5e57c65fc51d4864",
|
|
666
|
+
"signature": "5c8c979baf551dcbb425402a24a1f1686ffaff94cc78991d1bbb0baf68950741",
|
|
667
667
|
"affectsGlobalScope": false
|
|
668
668
|
},
|
|
669
669
|
"../../core/components/atoms/input/index.tsx": {
|
|
@@ -672,8 +672,8 @@
|
|
|
672
672
|
"affectsGlobalScope": false
|
|
673
673
|
},
|
|
674
674
|
"../../core/components/atoms/metricInput/MetricInput.tsx": {
|
|
675
|
-
"version": "
|
|
676
|
-
"signature": "
|
|
675
|
+
"version": "ceca2ab78082fef267011fb7556cc2ccfd660d0dd77d04bfdc9fd082762b57a1",
|
|
676
|
+
"signature": "5fbf51459e145b95becb5f37a7cf0d4c926b3e444ebad825fba0cd61672d5295",
|
|
677
677
|
"affectsGlobalScope": false
|
|
678
678
|
},
|
|
679
679
|
"../../core/components/atoms/metricInput/index.tsx": {
|
|
@@ -717,17 +717,17 @@
|
|
|
717
717
|
"affectsGlobalScope": false
|
|
718
718
|
},
|
|
719
719
|
"../../core/utils/navigationHelper.tsx": {
|
|
720
|
-
"version": "
|
|
721
|
-
"signature": "
|
|
720
|
+
"version": "ac382f144a8d7e302393c977e8fbc77a1f2932b6657df477b5d97d3b8bf9d643",
|
|
721
|
+
"signature": "94f7e30cfba7567ce6b8acd1f3ef3353e6fd9138a019b50c0d4fde01c26befe8",
|
|
722
722
|
"affectsGlobalScope": false
|
|
723
723
|
},
|
|
724
724
|
"../../core/components/organisms/verticalNav/MenuItem.tsx": {
|
|
725
|
-
"version": "
|
|
725
|
+
"version": "003f749f006ff3a466b5e03694e7d0524803b0918ad2d5443d8c0154482a8b32",
|
|
726
726
|
"signature": "5e37b7f569d09c007d1f438d81dbf26264baa12d49b0d34921a4233bb29dea05",
|
|
727
727
|
"affectsGlobalScope": false
|
|
728
728
|
},
|
|
729
729
|
"../../core/components/organisms/verticalNav/VerticalNav.tsx": {
|
|
730
|
-
"version": "
|
|
730
|
+
"version": "e769f79b0350f756616fa5076b4dd40ddeccf472aac9b49d5ebb9259a2f6ac17",
|
|
731
731
|
"signature": "b6a81d40026ba8bd3a2cbf23c794ebad04a3cd7ae697b1a3fcbca6f0cb11ad7f",
|
|
732
732
|
"affectsGlobalScope": false
|
|
733
733
|
},
|
|
@@ -787,7 +787,7 @@
|
|
|
787
787
|
"affectsGlobalScope": false
|
|
788
788
|
},
|
|
789
789
|
"../../core/components/organisms/horizontalNav/HorizontalNav.tsx": {
|
|
790
|
-
"version": "
|
|
790
|
+
"version": "636152d074d8289aba2fb0308edeecdf2e882895a2a733dbbe3d6dcc3d26eb3e",
|
|
791
791
|
"signature": "f514d24ce6074d591e449c02b591ee452010db46cf8ac4ed134508b59d168684",
|
|
792
792
|
"affectsGlobalScope": false
|
|
793
793
|
},
|
|
@@ -807,12 +807,12 @@
|
|
|
807
807
|
"affectsGlobalScope": false
|
|
808
808
|
},
|
|
809
809
|
"../../core/components/atoms/metaList/Meta.tsx": {
|
|
810
|
-
"version": "
|
|
811
|
-
"signature": "
|
|
810
|
+
"version": "6560d41ef3b66c88845009d799eaeb4e8a0ba7f9ebdb7c9add88932abb3a1d8c",
|
|
811
|
+
"signature": "79277a7a923bd14bd8ccbf8d372135b5ad8994d7391e4607b1a0f56c3f6e7e2f",
|
|
812
812
|
"affectsGlobalScope": false
|
|
813
813
|
},
|
|
814
814
|
"../../core/components/atoms/metaList/MetaList.tsx": {
|
|
815
|
-
"version": "
|
|
815
|
+
"version": "cd5e9c4c465eb383683d454fa5cf4a7ccc3e901ef11078f90acf050fd31f59cb",
|
|
816
816
|
"signature": "2bf1748bc4d8d6967b776361ac06a6abe166cb52c49be74a50b129ac3c36846c",
|
|
817
817
|
"affectsGlobalScope": false
|
|
818
818
|
},
|
|
@@ -1097,8 +1097,8 @@
|
|
|
1097
1097
|
"affectsGlobalScope": false
|
|
1098
1098
|
},
|
|
1099
1099
|
"../../core/components/molecules/chipInput/ChipInput.tsx": {
|
|
1100
|
-
"version": "
|
|
1101
|
-
"signature": "
|
|
1100
|
+
"version": "c2d77c8a1c654245aac9502b2f50bb2748fe98f8b349fcaab4ab6241949dcac2",
|
|
1101
|
+
"signature": "de9451cfc535d4ce54621cad7e84caab52d915746c3be021b7e335be9203f4e4",
|
|
1102
1102
|
"affectsGlobalScope": false
|
|
1103
1103
|
},
|
|
1104
1104
|
"../../core/components/molecules/chipInput/index.tsx": {
|
|
@@ -1257,8 +1257,8 @@
|
|
|
1257
1257
|
"affectsGlobalScope": false
|
|
1258
1258
|
},
|
|
1259
1259
|
"../../core/components/molecules/tabs/Tabs.tsx": {
|
|
1260
|
-
"version": "
|
|
1261
|
-
"signature": "
|
|
1260
|
+
"version": "5e137e5df3b652eca8faabf3aa37fadd610a902589da870a6d637863af28ac10",
|
|
1261
|
+
"signature": "6d64e3056227e06442dbcc0cc2154243ee9ddbf3132baa66a136a09f54a14aab",
|
|
1262
1262
|
"affectsGlobalScope": false
|
|
1263
1263
|
},
|
|
1264
1264
|
"../../core/components/molecules/tabs/index.tsx": {
|
|
@@ -1537,8 +1537,8 @@
|
|
|
1537
1537
|
"affectsGlobalScope": false
|
|
1538
1538
|
},
|
|
1539
1539
|
"../../core/components/atoms/linkButton/LinkButton.tsx": {
|
|
1540
|
-
"version": "
|
|
1541
|
-
"signature": "
|
|
1540
|
+
"version": "fb7a5eed74032662358213dc804a78290a9868c45783a5e5ef441a311d818c27",
|
|
1541
|
+
"signature": "24a5ee0a847bd28b6c3d530053d6905328866f6bc543016e2371bb8a9b00ff6d",
|
|
1542
1542
|
"affectsGlobalScope": false
|
|
1543
1543
|
},
|
|
1544
1544
|
"../../core/components/atoms/linkButton/index.tsx": {
|
|
@@ -4664,6 +4664,7 @@
|
|
|
4664
4664
|
"../../node_modules/@types/node/util.d.ts"
|
|
4665
4665
|
],
|
|
4666
4666
|
"../../core/components/atoms/_chip/index.tsx": [
|
|
4667
|
+
"../../core/common.type.tsx",
|
|
4667
4668
|
"../../core/components/atoms/chip/Chip.tsx",
|
|
4668
4669
|
"../../core/components/atoms/icon/index.tsx",
|
|
4669
4670
|
"../../core/components/atoms/text/index.tsx",
|
|
@@ -4860,6 +4861,7 @@
|
|
|
4860
4861
|
"../../node_modules/@types/node/util.d.ts"
|
|
4861
4862
|
],
|
|
4862
4863
|
"../../core/components/atoms/chip/Chip.tsx": [
|
|
4864
|
+
"../../core/common.type.tsx",
|
|
4863
4865
|
"../../core/components/atoms/_chip/index.tsx",
|
|
4864
4866
|
"../../core/utils/types.tsx",
|
|
4865
4867
|
"../../node_modules/@types/node/util.d.ts",
|
|
@@ -4923,6 +4925,7 @@
|
|
|
4923
4925
|
"../../node_modules/@types/throttle-debounce/index.d.ts"
|
|
4924
4926
|
],
|
|
4925
4927
|
"../../core/components/atoms/dropdown/DropdownButton.tsx": [
|
|
4928
|
+
"../../core/common.type.tsx",
|
|
4926
4929
|
"../../core/index.tsx",
|
|
4927
4930
|
"../../node_modules/@types/node/util.d.ts",
|
|
4928
4931
|
"../../node_modules/@types/react/index.d.ts",
|
|
@@ -5112,6 +5115,7 @@
|
|
|
5112
5115
|
"../../node_modules/@types/node/util.d.ts"
|
|
5113
5116
|
],
|
|
5114
5117
|
"../../core/components/atoms/linkButton/LinkButton.tsx": [
|
|
5118
|
+
"../../core/common.type.tsx",
|
|
5115
5119
|
"../../core/index.tsx",
|
|
5116
5120
|
"../../core/utils/types.tsx",
|
|
5117
5121
|
"../../node_modules/@types/node/util.d.ts",
|
|
@@ -5135,6 +5139,7 @@
|
|
|
5135
5139
|
"../../node_modules/@types/node/util.d.ts"
|
|
5136
5140
|
],
|
|
5137
5141
|
"../../core/components/atoms/metaList/Meta.tsx": [
|
|
5142
|
+
"../../core/common.type.tsx",
|
|
5138
5143
|
"../../core/components/atoms/metaList/MetaList.tsx",
|
|
5139
5144
|
"../../core/index.tsx",
|
|
5140
5145
|
"../../node_modules/@types/node/util.d.ts",
|
|
@@ -5873,6 +5878,7 @@
|
|
|
5873
5878
|
"../../node_modules/@types/react/index.d.ts"
|
|
5874
5879
|
],
|
|
5875
5880
|
"../../core/components/molecules/tabs/Tabs.tsx": [
|
|
5881
|
+
"../../core/common.type.tsx",
|
|
5876
5882
|
"../../core/index.tsx",
|
|
5877
5883
|
"../../core/utils/types.tsx",
|
|
5878
5884
|
"../../node_modules/@types/node/util.d.ts",
|
|
@@ -6509,6 +6515,7 @@
|
|
|
6509
6515
|
"../../node_modules/@types/node/util.d.ts"
|
|
6510
6516
|
],
|
|
6511
6517
|
"../../core/utils/navigationHelper.tsx": [
|
|
6518
|
+
"../../core/common.type.tsx",
|
|
6512
6519
|
"../../node_modules/@types/node/util.d.ts"
|
|
6513
6520
|
],
|
|
6514
6521
|
"../../core/utils/overlayHelper.ts": [
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Name } from "../chip/Chip";
|
|
3
3
|
import { BaseProps } from "../../../utils/types";
|
|
4
|
+
import { FontVariationType } from "../../../common.type";
|
|
4
5
|
export interface GenericChipProps extends BaseProps {
|
|
5
6
|
label: string | React.ReactElement;
|
|
6
7
|
labelPrefix?: string;
|
|
@@ -10,6 +11,7 @@ export interface GenericChipProps extends BaseProps {
|
|
|
10
11
|
selected?: boolean;
|
|
11
12
|
onClose?: () => void;
|
|
12
13
|
onClick?: () => void;
|
|
14
|
+
iconVariations?: FontVariationType;
|
|
13
15
|
name: Name;
|
|
14
16
|
}
|
|
15
17
|
export declare const GenericChip: {
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { BaseProps } from "../../../utils/types";
|
|
3
|
+
import { FontVariationType } from "../../../common.type";
|
|
3
4
|
export declare type ChipType = 'action' | 'selection' | 'input';
|
|
4
5
|
export declare type Name = number | string | object;
|
|
5
6
|
export interface ChipProps extends BaseProps {
|
|
6
7
|
label: string | React.ReactElement;
|
|
7
8
|
labelPrefix?: string;
|
|
8
9
|
icon?: string;
|
|
10
|
+
iconVariations?: FontVariationType;
|
|
9
11
|
clearButton?: boolean;
|
|
10
12
|
disabled?: boolean;
|
|
11
13
|
selected?: boolean;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { FontVariationType } from "../../../common.type";
|
|
2
3
|
export declare type DropDownButtonSize = 'tiny' | 'regular';
|
|
3
4
|
export interface TriggerProps {
|
|
4
5
|
triggerSize?: DropDownButtonSize;
|
|
5
6
|
icon?: string;
|
|
7
|
+
iconVariations?: FontVariationType;
|
|
6
8
|
placeholder?: string;
|
|
7
9
|
inlineLabel?: string;
|
|
8
10
|
disabled?: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { MetaListProps, IconProps, TextProps } from "../../../../index.type";
|
|
3
3
|
import { OptionType } from "../DropdownList";
|
|
4
|
-
import { ChangeEvent } from "../../../../common.type";
|
|
4
|
+
import { ChangeEvent, FontVariationType } from "../../../../common.type";
|
|
5
5
|
export declare type ClickEvent = React.MouseEvent<HTMLDivElement>;
|
|
6
6
|
export interface OptionRendererProps {
|
|
7
7
|
optionRenderer?: (props: OptionProps) => React.ReactElement;
|
|
@@ -16,6 +16,7 @@ export interface OptionSchema extends Record<string, any> {
|
|
|
16
16
|
selected?: boolean;
|
|
17
17
|
disabled?: boolean;
|
|
18
18
|
group?: string;
|
|
19
|
+
iconVariations?: FontVariationType;
|
|
19
20
|
}
|
|
20
21
|
export interface OptionTypeProps {
|
|
21
22
|
className: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { IconProps } from "../../../index.type";
|
|
3
3
|
import { BaseHtmlProps, BaseProps } from "../../../utils/types";
|
|
4
|
-
import { AutoComplete } from "../../../common.type";
|
|
4
|
+
import { AutoComplete, FontVariationType } from "../../../common.type";
|
|
5
5
|
export declare type InputType = 'text' | 'password' | 'number' | 'email' | 'tel' | 'url';
|
|
6
6
|
export declare type InputSize = 'tiny' | 'regular' | 'large';
|
|
7
7
|
export interface InputProps extends BaseProps, BaseHtmlProps<HTMLInputElement> {
|
|
@@ -12,6 +12,7 @@ export interface InputProps extends BaseProps, BaseHtmlProps<HTMLInputElement> {
|
|
|
12
12
|
placeholder?: string;
|
|
13
13
|
size?: InputSize;
|
|
14
14
|
icon?: string;
|
|
15
|
+
iconVariations?: FontVariationType;
|
|
15
16
|
inlineLabel?: string;
|
|
16
17
|
disabled?: boolean;
|
|
17
18
|
required?: boolean;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { BaseProps, BaseHtmlProps } from "../../../utils/types";
|
|
3
|
+
import { FontVariationType } from "../../../common.type";
|
|
3
4
|
export declare type ButtonType = 'button' | 'submit' | 'reset';
|
|
4
5
|
export declare type LinkButtonSize = 'tiny' | 'regular';
|
|
5
6
|
export declare type IconAlignment = 'left' | 'right';
|
|
@@ -9,6 +10,7 @@ export interface LinkButtonProps extends BaseProps, BaseHtmlProps<HTMLButtonElem
|
|
|
9
10
|
disabled?: boolean;
|
|
10
11
|
icon?: string;
|
|
11
12
|
iconAlign?: IconAlignment;
|
|
13
|
+
iconVariations?: FontVariationType;
|
|
12
14
|
children: React.ReactText;
|
|
13
15
|
tabIndex?: number;
|
|
14
16
|
autoFocus?: boolean;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { MetaSize } from "./MetaList";
|
|
2
|
+
import { FontVariationType } from "../../../common.type";
|
|
2
3
|
export interface MetaProps {
|
|
3
4
|
label: string;
|
|
4
5
|
icon?: string;
|
|
5
6
|
size?: MetaSize;
|
|
7
|
+
iconVariations?: FontVariationType;
|
|
6
8
|
}
|
|
7
9
|
export declare const Meta: {
|
|
8
10
|
(props: MetaProps): JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { BaseHtmlProps, BaseProps } from "../../../utils/types";
|
|
3
|
-
import { AutoComplete } from "../../../common.type";
|
|
3
|
+
import { AutoComplete, FontVariationType } from "../../../common.type";
|
|
4
4
|
export declare type MetricInputSize = 'regular' | 'large';
|
|
5
5
|
export interface MetricInputProps extends BaseProps, BaseHtmlProps<HTMLInputElement> {
|
|
6
6
|
name?: string;
|
|
@@ -9,6 +9,7 @@ export interface MetricInputProps extends BaseProps, BaseHtmlProps<HTMLInputElem
|
|
|
9
9
|
placeholder?: string;
|
|
10
10
|
size?: MetricInputSize;
|
|
11
11
|
icon?: string;
|
|
12
|
+
iconVariations?: FontVariationType;
|
|
12
13
|
prefix?: string;
|
|
13
14
|
suffix?: string;
|
|
14
15
|
disabled?: boolean;
|
|
@@ -4,6 +4,7 @@ import { BaseProps } from "../../../utils/types";
|
|
|
4
4
|
declare type ChipOptions = {
|
|
5
5
|
icon?: ChipProps['icon'];
|
|
6
6
|
type?: ChipProps['type'];
|
|
7
|
+
iconVariations?: ChipProps['iconVariations'];
|
|
7
8
|
clearButton?: ChipProps['clearButton'];
|
|
8
9
|
onClick?: (value: string, index: number) => void;
|
|
9
10
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { BaseProps, SingleOrArray } from "../../../utils/types";
|
|
3
|
+
import { FontVariationType } from "../../../common.type";
|
|
3
4
|
interface TabInfo {
|
|
4
5
|
label: string;
|
|
5
6
|
activeIndex: number;
|
|
@@ -13,6 +14,7 @@ export interface TabConfig {
|
|
|
13
14
|
className?: string;
|
|
14
15
|
isDismissible?: boolean;
|
|
15
16
|
onDismiss?: (tabInfo: TabInfo) => void;
|
|
17
|
+
iconVariations?: FontVariationType;
|
|
16
18
|
}
|
|
17
19
|
export interface TabsProps extends BaseProps {
|
|
18
20
|
activeIndex?: number;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { FontVariationType } from "../common.type";
|
|
1
2
|
export declare type Menu = {
|
|
2
3
|
name: string;
|
|
3
4
|
label: string;
|
|
@@ -7,6 +8,7 @@ export declare type Menu = {
|
|
|
7
8
|
count?: number;
|
|
8
9
|
disabled?: boolean;
|
|
9
10
|
subMenu?: Menu[];
|
|
11
|
+
iconVariations?: FontVariationType;
|
|
10
12
|
};
|
|
11
13
|
export declare type ActiveMenu = ({
|
|
12
14
|
name: string;
|