@coinbase/cds-web 9.0.0-rc.2 → 9.0.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 +102 -4
- package/dts/buttons/Button.d.ts.map +1 -1
- package/dts/buttons/IconButton.d.ts +15 -1
- package/dts/buttons/IconButton.d.ts.map +1 -1
- package/dts/chips/TabbedChips.d.ts.map +1 -1
- package/dts/collapsible/Collapsible.d.ts.map +1 -1
- package/dts/controls/CheckboxGroup.d.ts +4 -0
- package/dts/controls/CheckboxGroup.d.ts.map +1 -1
- package/dts/controls/InputLabel.d.ts.map +1 -1
- package/dts/controls/NativeInput.d.ts +6 -0
- package/dts/controls/NativeInput.d.ts.map +1 -1
- package/dts/controls/SearchInput.d.ts +2 -0
- package/dts/controls/SearchInput.d.ts.map +1 -1
- package/dts/controls/TextInput.d.ts +2 -2
- package/dts/controls/TextInput.d.ts.map +1 -1
- package/dts/core/createThemeCssVars.d.ts.map +1 -1
- package/dts/core/theme.d.ts +15 -0
- package/dts/core/theme.d.ts.map +1 -1
- package/dts/illustrations/HeroSquare.d.ts.map +1 -1
- package/dts/illustrations/Pictogram.d.ts.map +1 -1
- package/dts/illustrations/SpotIcon.d.ts.map +1 -1
- package/dts/illustrations/SpotRectangle.d.ts.map +1 -1
- package/dts/illustrations/SpotSquare.d.ts.map +1 -1
- package/dts/illustrations/createIllustration.d.ts +19 -3
- package/dts/illustrations/createIllustration.d.ts.map +1 -1
- package/dts/navigation/NavigationBar.d.ts.map +1 -1
- package/dts/page/PageFooter.d.ts +4 -0
- package/dts/page/PageFooter.d.ts.map +1 -1
- package/dts/system/ThemeProvider.d.ts.map +1 -1
- package/dts/tabs/DefaultTab.d.ts +11 -2
- package/dts/tabs/DefaultTab.d.ts.map +1 -1
- package/dts/tabs/SegmentedTab.d.ts +13 -12
- package/dts/tabs/SegmentedTab.d.ts.map +1 -1
- package/dts/tabs/Tabs.d.ts +9 -3
- package/dts/tabs/Tabs.d.ts.map +1 -1
- package/dts/tag/Tag.d.ts +3 -2
- package/dts/tag/Tag.d.ts.map +1 -1
- package/dts/themes/coinbaseDenseTheme.d.ts +34 -2
- package/dts/themes/coinbaseDenseTheme.d.ts.map +1 -1
- package/dts/themes/coinbaseHighContrastTheme.d.ts +32 -0
- package/dts/themes/coinbaseHighContrastTheme.d.ts.map +1 -1
- package/dts/themes/coinbaseTheme.d.ts +34 -2
- package/dts/themes/coinbaseTheme.d.ts.map +1 -1
- package/dts/themes/defaultHighContrastTheme.d.ts +32 -0
- package/dts/themes/defaultHighContrastTheme.d.ts.map +1 -1
- package/dts/themes/defaultTheme.d.ts +34 -2
- package/dts/themes/defaultTheme.d.ts.map +1 -1
- package/dts/visualizations/chart/PeriodSelector.d.ts.map +1 -1
- package/esm/buttons/Button.css +1 -1
- package/esm/buttons/IconButton.js +27 -6
- package/esm/chips/TabbedChips.js +4 -2
- package/esm/collapsible/Collapsible.js +11 -15
- package/esm/controls/CheckboxGroup.js +5 -0
- package/esm/controls/InputLabel.js +4 -3
- package/esm/controls/InputStack.js +1 -3
- package/esm/controls/NativeInput.js +5 -3
- package/esm/controls/TextInput.js +10 -5
- package/esm/core/createThemeCssVars.js +23 -0
- package/esm/core/theme.js +3 -0
- package/esm/illustrations/HeroSquare.js +2 -1
- package/esm/illustrations/Pictogram.js +2 -1
- package/esm/illustrations/SpotIcon.js +2 -1
- package/esm/illustrations/SpotRectangle.js +2 -1
- package/esm/illustrations/SpotSquare.js +2 -1
- package/esm/illustrations/createIllustration.css +1 -0
- package/esm/illustrations/createIllustration.js +68 -20
- package/esm/navigation/NavigationBar.js +14 -10
- package/esm/overlays/tray/Tray.js +1 -1
- package/esm/page/PageFooter.js +20 -4
- package/esm/page/__figma__/PageFooter.figma.js +50 -6
- package/esm/system/ThemeProvider.js +3 -1
- package/esm/tabs/DefaultTab.css +1 -2
- package/esm/tabs/DefaultTab.js +6 -5
- package/esm/tabs/Tabs.js +8 -2
- package/esm/tag/Tag.js +13 -3
- package/esm/themes/coinbaseHighContrastTheme.js +32 -0
- package/esm/themes/coinbaseTheme.js +34 -2
- package/esm/themes/defaultHighContrastTheme.js +32 -0
- package/esm/themes/defaultTheme.js +34 -2
- package/esm/visualizations/chart/PeriodSelector.js +4 -3
- package/package.json +3 -3
package/dts/tabs/Tabs.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../src/tabs/Tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAEtE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAIjE,OAAO,EAEL,KAAK,WAAW,EAChB,KAAK,QAAQ,EAEd,MAAM,mCAAmC,CAAC;AAE3C,OAAO,EAAe,KAAK,IAAI,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,EAAe,KAAK,WAAW,EAAmB,MAAM,eAAe,CAAC;AAI/E,OAAO,EAAO,KAAK,YAAY,EAAE,KAAK,iBAAiB,EAAE,KAAK,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC9F,OAAO,EAAU,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../src/tabs/Tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAEtE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAIjE,OAAO,EAEL,KAAK,WAAW,EAChB,KAAK,QAAQ,EAEd,MAAM,mCAAmC,CAAC;AAE3C,OAAO,EAAe,KAAK,IAAI,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,EAAe,KAAK,WAAW,EAAmB,MAAM,eAAe,CAAC;AAI/E,OAAO,EAAO,KAAK,YAAY,EAAE,KAAK,iBAAiB,EAAE,KAAK,QAAQ,EA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QAC1B,+BAA+B;QAC/B,eAAe,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;KACvC,CAAC;IACF,uEAAuE;IACvE,UAAU,CAAC,EAAE;QACX,mBAAmB;QACnB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,kBAAkB;QAClB,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,+BAA+B;QAC/B,eAAe,CAAC,EAAE,MAAM,CAAC;KAC1B,CAAC;CACH,CAAC;AAEJ,KAAK,MAAM,GAAG,CAAC,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,QAAQ,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,EAC1F,KAAK,EAAE,SAAS,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG;IAAE,GAAG,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,WAAW,CAAC,CAAA;CAAE,KACtE,KAAK,CAAC,YAAY,CAAC;AAqLxB,eAAO,MAAM,IAAI,EAAoB,MAAM,CAAC;AAE5C,eAAO,MAAM,mBAAmB,GAAI,+CAKjC,wBAAwB,mDAiB1B,CAAC"}
|
package/dts/tag/Tag.d.ts
CHANGED
|
@@ -8,10 +8,11 @@ import type {
|
|
|
8
8
|
TagEmphasis,
|
|
9
9
|
TagIntent,
|
|
10
10
|
} from '@coinbase/cds-common/types';
|
|
11
|
-
import { type BoxDefaultElement, type BoxProps } from '../layout/Box';
|
|
11
|
+
import { type BoxBaseProps, type BoxDefaultElement, type BoxProps } from '../layout/Box';
|
|
12
12
|
export declare const tagStaticClassName = 'cds-tag';
|
|
13
13
|
export type TagBaseProps = SharedProps &
|
|
14
|
-
SharedAccessibilityProps &
|
|
14
|
+
SharedAccessibilityProps &
|
|
15
|
+
Omit<BoxBaseProps, 'children' | 'color' | 'background'> & {
|
|
15
16
|
/** Children to render within the Tag. */
|
|
16
17
|
children: React.ReactNode;
|
|
17
18
|
/**
|
package/dts/tag/Tag.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../src/tag/Tag.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;AACzD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAOjE,OAAO,KAAK,EACV,QAAQ,EACR,wBAAwB,EACxB,WAAW,EACX,cAAc,EACd,WAAW,EACX,SAAS,EACV,MAAM,4BAA4B,CAAC;AAMpC,OAAO,EAAO,KAAK,iBAAiB,EAAE,KAAK,QAAQ,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../src/tag/Tag.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;AACzD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAOjE,OAAO,KAAK,EACV,QAAQ,EACR,wBAAwB,EACxB,WAAW,EACX,cAAc,EACd,WAAW,EACX,SAAS,EACV,MAAM,4BAA4B,CAAC;AAMpC,OAAO,EAAO,KAAK,YAAY,EAAE,KAAK,iBAAiB,EAAE,KAAK,QAAQ,EAAE,MAAM,eAAe,CAAC;AAQ9F,eAAO,MAAM,kBAAkB,YAAY,CAAC;AAE5C,MAAM,MAAM,YAAY,GAAG,WAAW,GACpC,wBAAwB,GACxB,IAAI,CAAC,YAAY,EAAE,UAAU,GAAG,OAAO,GAAG,YAAY,CAAC,GAAG;IACxD,yCAAyC;IACzC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;;OAGG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB;;;OAGG;IACH,QAAQ,CAAC,EAAE,WAAW,CAAC;IACvB;;;OAGG;IACH,WAAW,CAAC,EAAE,cAAc,CAAC;IAC7B,sCAAsC;IACtC,UAAU,CAAC,EAAE,SAAS,CAAC,aAAa,CAAC;IACrC,gCAAgC;IAChC,KAAK,CAAC,EAAE,SAAS,CAAC,aAAa,CAAC;IAChC,0EAA0E;IAC1E,QAAQ,CAAC,EAAE,QAAQ,CAAC,iBAAiB,CAAC,CAAC,UAAU,CAAC,CAAC;IACnD,yBAAyB;IACzB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,8CAA8C;IAC9C,SAAS,CAAC,EAAE,QAAQ,CAAC;IACrB,uCAAuC;IACvC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,uBAAuB;IACvB,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,4CAA4C;IAC5C,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,qCAAqC;IACrC,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAEJ,MAAM,MAAM,QAAQ,GAAG,YAAY,GACjC,IAAI,CAAC,QAAQ,CAAC,iBAAiB,CAAC,EAAE,OAAO,GAAG,YAAY,GAAG,UAAU,GAAG,UAAU,CAAC,CAAC;AAEtF,eAAO,MAAM,GAAG,yFAyFf,CAAC"}
|
|
@@ -415,7 +415,7 @@ export declare const coinbaseDenseTheme: {
|
|
|
415
415
|
readonly bgNegativeWash: 'rgb(255,245,246)';
|
|
416
416
|
readonly bgPositive: 'rgb(9,133,81)';
|
|
417
417
|
readonly bgPositiveWash: 'rgb(245,255,251)';
|
|
418
|
-
readonly bgWarning: 'rgb(
|
|
418
|
+
readonly bgWarning: 'rgb(207,71,14)';
|
|
419
419
|
readonly bgWarningWash: 'rgb(255,250,245)';
|
|
420
420
|
readonly currentColor: 'currentColor';
|
|
421
421
|
readonly bgLine: 'rgba(91,97,110,0.2)';
|
|
@@ -460,7 +460,7 @@ export declare const coinbaseDenseTheme: {
|
|
|
460
460
|
readonly bgNegativeWash: 'rgb(51,0,4)';
|
|
461
461
|
readonly bgPositive: 'rgb(39,173,117)';
|
|
462
462
|
readonly bgPositiveWash: 'rgb(0,31,18)';
|
|
463
|
-
readonly bgWarning: 'rgb(
|
|
463
|
+
readonly bgWarning: 'rgb(240,120,54)';
|
|
464
464
|
readonly bgWarningWash: 'rgb(51,13,0)';
|
|
465
465
|
readonly currentColor: 'currentColor';
|
|
466
466
|
readonly bgLine: 'rgba(138,145,158,0.2)';
|
|
@@ -539,5 +539,37 @@ export declare const coinbaseDenseTheme: {
|
|
|
539
539
|
readonly elevation1: '0px 8px 12px rgba(0, 0, 0, 0.12)';
|
|
540
540
|
readonly elevation2: '0px 8px 24px rgba(0, 0, 0, 0.12)';
|
|
541
541
|
};
|
|
542
|
+
readonly lightIllustrationColor: {
|
|
543
|
+
readonly primary: 'rgb(0,82,255)';
|
|
544
|
+
readonly black: 'rgb(10,11,13)';
|
|
545
|
+
readonly white: 'rgb(255,255,255)';
|
|
546
|
+
readonly gray: 'rgb(206,210,219)';
|
|
547
|
+
readonly gray2: 'rgb(10, 11, 15)';
|
|
548
|
+
readonly gray3: 'rgb(206, 210, 220)';
|
|
549
|
+
readonly positive: 'rgb(60,194,138)';
|
|
550
|
+
readonly negative: 'rgb(225,57,71)';
|
|
551
|
+
readonly accent1: 'rgb(255, 210, 0)';
|
|
552
|
+
readonly accent2: 'rgb(93,226,248)';
|
|
553
|
+
readonly accent3: 'rgb(237,112,47)';
|
|
554
|
+
readonly accent4: 'rgb(115,162,255)';
|
|
555
|
+
readonly invert: 'rgb(10, 11, 14)';
|
|
556
|
+
readonly invert2: 'rgb(255, 255, 254)';
|
|
557
|
+
};
|
|
558
|
+
readonly darkIllustrationColor: {
|
|
559
|
+
readonly primary: 'rgb(87,139,250)';
|
|
560
|
+
readonly black: 'rgb(10,11,13)';
|
|
561
|
+
readonly white: 'rgb(255,255,255)';
|
|
562
|
+
readonly gray: 'rgb(70,75,85)';
|
|
563
|
+
readonly gray2: 'rgb(70,75,85)';
|
|
564
|
+
readonly gray3: 'rgb(255,255,255)';
|
|
565
|
+
readonly positive: 'rgb(68,194,141)';
|
|
566
|
+
readonly negative: 'rgb(240,97,109)';
|
|
567
|
+
readonly accent1: 'rgb(236, 208, 105)';
|
|
568
|
+
readonly accent2: 'rgb(69,217,245)';
|
|
569
|
+
readonly accent3: 'rgb(240,120,54)';
|
|
570
|
+
readonly accent4: 'rgb(132,170,253)';
|
|
571
|
+
readonly invert: 'rgb(255,255,255)';
|
|
572
|
+
readonly invert2: 'rgb(114,120,134)';
|
|
573
|
+
};
|
|
542
574
|
};
|
|
543
575
|
//# sourceMappingURL=coinbaseDenseTheme.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coinbaseDenseTheme.d.ts","sourceRoot":"","sources":["../../src/themes/coinbaseDenseTheme.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,oBAAoB,mBAAmB,CAAC;AAErD;;;GAGG;AACH,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"coinbaseDenseTheme.d.ts","sourceRoot":"","sources":["../../src/themes/coinbaseDenseTheme.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,oBAAoB,mBAAmB,CAAC;AAErD;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsGC,CAAC"}
|
|
@@ -531,6 +531,38 @@ export declare const coinbaseHighContrastTheme: {
|
|
|
531
531
|
readonly caption: 'uppercase';
|
|
532
532
|
readonly legal: 'none';
|
|
533
533
|
};
|
|
534
|
+
readonly lightIllustrationColor: {
|
|
535
|
+
readonly primary: 'rgb(0,82,255)';
|
|
536
|
+
readonly black: 'rgb(10,11,13)';
|
|
537
|
+
readonly white: 'rgb(255,255,255)';
|
|
538
|
+
readonly gray: 'rgb(206,210,219)';
|
|
539
|
+
readonly gray2: 'rgb(10, 11, 15)';
|
|
540
|
+
readonly gray3: 'rgb(206, 210, 220)';
|
|
541
|
+
readonly positive: 'rgb(60,194,138)';
|
|
542
|
+
readonly negative: 'rgb(225,57,71)';
|
|
543
|
+
readonly accent1: 'rgb(255, 210, 0)';
|
|
544
|
+
readonly accent2: 'rgb(93,226,248)';
|
|
545
|
+
readonly accent3: 'rgb(237,112,47)';
|
|
546
|
+
readonly accent4: 'rgb(115,162,255)';
|
|
547
|
+
readonly invert: 'rgb(10, 11, 14)';
|
|
548
|
+
readonly invert2: 'rgb(255, 255, 254)';
|
|
549
|
+
};
|
|
550
|
+
readonly darkIllustrationColor: {
|
|
551
|
+
readonly primary: 'rgb(87,139,250)';
|
|
552
|
+
readonly black: 'rgb(10,11,13)';
|
|
553
|
+
readonly white: 'rgb(255,255,255)';
|
|
554
|
+
readonly gray: 'rgb(70,75,85)';
|
|
555
|
+
readonly gray2: 'rgb(70,75,85)';
|
|
556
|
+
readonly gray3: 'rgb(255,255,255)';
|
|
557
|
+
readonly positive: 'rgb(68,194,141)';
|
|
558
|
+
readonly negative: 'rgb(240,97,109)';
|
|
559
|
+
readonly accent1: 'rgb(236, 208, 105)';
|
|
560
|
+
readonly accent2: 'rgb(69,217,245)';
|
|
561
|
+
readonly accent3: 'rgb(240,120,54)';
|
|
562
|
+
readonly accent4: 'rgb(143,178,255)';
|
|
563
|
+
readonly invert: 'rgb(255,255,255)';
|
|
564
|
+
readonly invert2: 'rgb(114,120,134)';
|
|
565
|
+
};
|
|
534
566
|
readonly shadow: {
|
|
535
567
|
readonly elevation1: '0px 8px 12px rgba(0, 0, 0, 0.12)';
|
|
536
568
|
readonly elevation2: '0px 8px 24px rgba(0, 0, 0, 0.12)';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coinbaseHighContrastTheme.d.ts","sourceRoot":"","sources":["../../src/themes/coinbaseHighContrastTheme.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,2BAA2B,2BAA2B,CAAC;AAsSpE,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"coinbaseHighContrastTheme.d.ts","sourceRoot":"","sources":["../../src/themes/coinbaseHighContrastTheme.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,2BAA2B,2BAA2B,CAAC;AAsSpE,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoSN,CAAC"}
|
|
@@ -312,7 +312,7 @@ export declare const coinbaseTheme: {
|
|
|
312
312
|
readonly bgNegativeWash: 'rgb(255,245,246)';
|
|
313
313
|
readonly bgPositive: 'rgb(9,133,81)';
|
|
314
314
|
readonly bgPositiveWash: 'rgb(245,255,251)';
|
|
315
|
-
readonly bgWarning: 'rgb(
|
|
315
|
+
readonly bgWarning: 'rgb(207,71,14)';
|
|
316
316
|
readonly bgWarningWash: 'rgb(255,250,245)';
|
|
317
317
|
readonly currentColor: 'currentColor';
|
|
318
318
|
readonly bgLine: 'rgba(91,97,110,0.2)';
|
|
@@ -357,7 +357,7 @@ export declare const coinbaseTheme: {
|
|
|
357
357
|
readonly bgNegativeWash: 'rgb(51,0,4)';
|
|
358
358
|
readonly bgPositive: 'rgb(39,173,117)';
|
|
359
359
|
readonly bgPositiveWash: 'rgb(0,31,18)';
|
|
360
|
-
readonly bgWarning: 'rgb(
|
|
360
|
+
readonly bgWarning: 'rgb(240,120,54)';
|
|
361
361
|
readonly bgWarningWash: 'rgb(51,13,0)';
|
|
362
362
|
readonly currentColor: 'currentColor';
|
|
363
363
|
readonly bgLine: 'rgba(138,145,158,0.2)';
|
|
@@ -535,5 +535,37 @@ export declare const coinbaseTheme: {
|
|
|
535
535
|
readonly elevation1: '0px 8px 12px rgba(0, 0, 0, 0.12)';
|
|
536
536
|
readonly elevation2: '0px 8px 24px rgba(0, 0, 0, 0.12)';
|
|
537
537
|
};
|
|
538
|
+
readonly lightIllustrationColor: {
|
|
539
|
+
readonly primary: 'rgb(0,82,255)';
|
|
540
|
+
readonly black: 'rgb(10,11,13)';
|
|
541
|
+
readonly white: 'rgb(255,255,255)';
|
|
542
|
+
readonly gray: 'rgb(206,210,219)';
|
|
543
|
+
readonly gray2: 'rgb(10, 11, 15)';
|
|
544
|
+
readonly gray3: 'rgb(206, 210, 220)';
|
|
545
|
+
readonly positive: 'rgb(60,194,138)';
|
|
546
|
+
readonly negative: 'rgb(225,57,71)';
|
|
547
|
+
readonly accent1: 'rgb(255, 210, 0)';
|
|
548
|
+
readonly accent2: 'rgb(93,226,248)';
|
|
549
|
+
readonly accent3: 'rgb(237,112,47)';
|
|
550
|
+
readonly accent4: 'rgb(115,162,255)';
|
|
551
|
+
readonly invert: 'rgb(10, 11, 14)';
|
|
552
|
+
readonly invert2: 'rgb(255, 255, 254)';
|
|
553
|
+
};
|
|
554
|
+
readonly darkIllustrationColor: {
|
|
555
|
+
readonly primary: 'rgb(87,139,250)';
|
|
556
|
+
readonly black: 'rgb(10,11,13)';
|
|
557
|
+
readonly white: 'rgb(255,255,255)';
|
|
558
|
+
readonly gray: 'rgb(70,75,85)';
|
|
559
|
+
readonly gray2: 'rgb(70,75,85)';
|
|
560
|
+
readonly gray3: 'rgb(255,255,255)';
|
|
561
|
+
readonly positive: 'rgb(68,194,141)';
|
|
562
|
+
readonly negative: 'rgb(240,97,109)';
|
|
563
|
+
readonly accent1: 'rgb(236, 208, 105)';
|
|
564
|
+
readonly accent2: 'rgb(69,217,245)';
|
|
565
|
+
readonly accent3: 'rgb(240,120,54)';
|
|
566
|
+
readonly accent4: 'rgb(132,170,253)';
|
|
567
|
+
readonly invert: 'rgb(255,255,255)';
|
|
568
|
+
readonly invert2: 'rgb(114,120,134)';
|
|
569
|
+
};
|
|
538
570
|
};
|
|
539
571
|
//# sourceMappingURL=coinbaseTheme.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coinbaseTheme.d.ts","sourceRoot":"","sources":["../../src/themes/coinbaseTheme.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe,aAAa,CAAC;AAsS1C,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"coinbaseTheme.d.ts","sourceRoot":"","sources":["../../src/themes/coinbaseTheme.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe,aAAa,CAAC;AAsS1C,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoSM,CAAC"}
|
|
@@ -531,6 +531,38 @@ export declare const defaultHighContrastTheme: {
|
|
|
531
531
|
readonly caption: 'uppercase';
|
|
532
532
|
readonly legal: 'none';
|
|
533
533
|
};
|
|
534
|
+
readonly lightIllustrationColor: {
|
|
535
|
+
readonly primary: 'rgb(0,82,255)';
|
|
536
|
+
readonly black: 'rgb(10,11,13)';
|
|
537
|
+
readonly white: 'rgb(255,255,255)';
|
|
538
|
+
readonly gray: 'rgb(206,210,219)';
|
|
539
|
+
readonly gray2: 'rgb(10, 11, 15)';
|
|
540
|
+
readonly gray3: 'rgb(206, 210, 220)';
|
|
541
|
+
readonly positive: 'rgb(60,194,138)';
|
|
542
|
+
readonly negative: 'rgb(225,57,71)';
|
|
543
|
+
readonly accent1: 'rgb(255, 210, 0)';
|
|
544
|
+
readonly accent2: 'rgb(93,226,248)';
|
|
545
|
+
readonly accent3: 'rgb(237,112,47)';
|
|
546
|
+
readonly accent4: 'rgb(115,162,255)';
|
|
547
|
+
readonly invert: 'rgb(10, 11, 14)';
|
|
548
|
+
readonly invert2: 'rgb(255, 255, 254)';
|
|
549
|
+
};
|
|
550
|
+
readonly darkIllustrationColor: {
|
|
551
|
+
readonly primary: 'rgb(87,139,250)';
|
|
552
|
+
readonly black: 'rgb(10,11,13)';
|
|
553
|
+
readonly white: 'rgb(255,255,255)';
|
|
554
|
+
readonly gray: 'rgb(70,75,85)';
|
|
555
|
+
readonly gray2: 'rgb(70,75,85)';
|
|
556
|
+
readonly gray3: 'rgb(255,255,255)';
|
|
557
|
+
readonly positive: 'rgb(68,194,141)';
|
|
558
|
+
readonly negative: 'rgb(240,97,109)';
|
|
559
|
+
readonly accent1: 'rgb(236, 208, 105)';
|
|
560
|
+
readonly accent2: 'rgb(69,217,245)';
|
|
561
|
+
readonly accent3: 'rgb(240,120,54)';
|
|
562
|
+
readonly accent4: 'rgb(143,178,255)';
|
|
563
|
+
readonly invert: 'rgb(255,255,255)';
|
|
564
|
+
readonly invert2: 'rgb(114,120,134)';
|
|
565
|
+
};
|
|
534
566
|
readonly shadow: {
|
|
535
567
|
readonly elevation1: '0px 8px 12px rgba(0, 0, 0, 0.12)';
|
|
536
568
|
readonly elevation2: '0px 8px 24px rgba(0, 0, 0, 0.12)';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaultHighContrastTheme.d.ts","sourceRoot":"","sources":["../../src/themes/defaultHighContrastTheme.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,0BAA0B,8BAA8B,CAAC;AAsStE,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"defaultHighContrastTheme.d.ts","sourceRoot":"","sources":["../../src/themes/defaultHighContrastTheme.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,0BAA0B,8BAA8B,CAAC;AAsStE,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoSL,CAAC"}
|
|
@@ -312,7 +312,7 @@ export declare const defaultTheme: {
|
|
|
312
312
|
readonly bgNegativeWash: 'rgb(255,245,246)';
|
|
313
313
|
readonly bgPositive: 'rgb(9,133,81)';
|
|
314
314
|
readonly bgPositiveWash: 'rgb(245,255,251)';
|
|
315
|
-
readonly bgWarning: 'rgb(
|
|
315
|
+
readonly bgWarning: 'rgb(207,71,14)';
|
|
316
316
|
readonly bgWarningWash: 'rgb(255,250,245)';
|
|
317
317
|
readonly currentColor: 'currentColor';
|
|
318
318
|
readonly bgLine: 'rgba(91,97,110,0.2)';
|
|
@@ -357,7 +357,7 @@ export declare const defaultTheme: {
|
|
|
357
357
|
readonly bgNegativeWash: 'rgb(51,0,4)';
|
|
358
358
|
readonly bgPositive: 'rgb(39,173,117)';
|
|
359
359
|
readonly bgPositiveWash: 'rgb(0,31,18)';
|
|
360
|
-
readonly bgWarning: 'rgb(
|
|
360
|
+
readonly bgWarning: 'rgb(240,120,54)';
|
|
361
361
|
readonly bgWarningWash: 'rgb(51,13,0)';
|
|
362
362
|
readonly currentColor: 'currentColor';
|
|
363
363
|
readonly bgLine: 'rgba(138,145,158,0.2)';
|
|
@@ -381,6 +381,38 @@ export declare const defaultTheme: {
|
|
|
381
381
|
readonly accentBoldGray: 'rgb(193,198,207)';
|
|
382
382
|
readonly transparent: 'rgba(10,11,13,0)';
|
|
383
383
|
};
|
|
384
|
+
readonly lightIllustrationColor: {
|
|
385
|
+
readonly primary: 'rgb(0,82,255)';
|
|
386
|
+
readonly black: 'rgb(10,11,13)';
|
|
387
|
+
readonly white: 'rgb(255,255,255)';
|
|
388
|
+
readonly gray: 'rgb(206,210,219)';
|
|
389
|
+
readonly gray2: 'rgb(10, 11, 15)';
|
|
390
|
+
readonly gray3: 'rgb(206, 210, 220)';
|
|
391
|
+
readonly positive: 'rgb(60,194,138)';
|
|
392
|
+
readonly negative: 'rgb(225,57,71)';
|
|
393
|
+
readonly accent1: 'rgb(255, 210, 0)';
|
|
394
|
+
readonly accent2: 'rgb(93,226,248)';
|
|
395
|
+
readonly accent3: 'rgb(237,112,47)';
|
|
396
|
+
readonly accent4: 'rgb(115,162,255)';
|
|
397
|
+
readonly invert: 'rgb(10, 11, 14)';
|
|
398
|
+
readonly invert2: 'rgb(255, 255, 254)';
|
|
399
|
+
};
|
|
400
|
+
readonly darkIllustrationColor: {
|
|
401
|
+
readonly primary: 'rgb(87,139,250)';
|
|
402
|
+
readonly black: 'rgb(10,11,13)';
|
|
403
|
+
readonly white: 'rgb(255,255,255)';
|
|
404
|
+
readonly gray: 'rgb(70,75,85)';
|
|
405
|
+
readonly gray2: 'rgb(70,75,85)';
|
|
406
|
+
readonly gray3: 'rgb(255,255,255)';
|
|
407
|
+
readonly positive: 'rgb(68,194,141)';
|
|
408
|
+
readonly negative: 'rgb(240,97,109)';
|
|
409
|
+
readonly accent1: 'rgb(236, 208, 105)';
|
|
410
|
+
readonly accent2: 'rgb(69,217,245)';
|
|
411
|
+
readonly accent3: 'rgb(240,120,54)';
|
|
412
|
+
readonly accent4: 'rgb(132,170,253)';
|
|
413
|
+
readonly invert: 'rgb(255,255,255)';
|
|
414
|
+
readonly invert2: 'rgb(114,120,134)';
|
|
415
|
+
};
|
|
384
416
|
readonly space: {
|
|
385
417
|
readonly '0': 0;
|
|
386
418
|
readonly '0.25': 2;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaultTheme.d.ts","sourceRoot":"","sources":["../../src/themes/defaultTheme.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,gBAAgB,CAAC;AAsS5C,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"defaultTheme.d.ts","sourceRoot":"","sources":["../../src/themes/defaultTheme.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,gBAAgB,CAAC;AAsS5C,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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CAqIA,CAAC"}
|
package/esm/buttons/Button.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer cds{.baseCss-b99zquh{-webkit-text-decoration:none;text-decoration:none;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;text-align:center;vertical-align:middle;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;font-weight:600;position:relative;white-space:nowrap;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:0;overflow:visible;text-transform:none;}
|
|
1
|
+
@layer cds{.baseCss-b99zquh{-webkit-text-decoration:none;text-decoration:none;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;text-align:center;vertical-align:middle;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;font-weight:600;position:relative;white-space:nowrap;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:0;overflow:visible;text-transform:none;}
|
|
2
2
|
.blockCss-b9yox33{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:100%;max-width:100%;white-space:normal;}
|
|
3
3
|
.spinnerContainerCss-s1bhvbb9{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}
|
|
4
4
|
.startNodeCss-s2x7iw5{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;margin-inline-end:var(--space-1);}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const _excluded = ["as", "variant", "transparent", "compact", "background", "color", "borderColor", "borderRadius", "borderWidth", "alignItems", "justifyContent", "className", "style", "padding", "name", "iconSize", "active", "flush", "loading", "progressCircleSize", "accessibilityLabel", "accessibilityHint"];
|
|
1
|
+
const _excluded = ["as", "variant", "transparent", "compact", "background", "color", "borderColor", "borderRadius", "borderWidth", "alignItems", "justifyContent", "className", "style", "padding", "name", "iconSize", "active", "flush", "loading", "progressCircleSize", "accessibilityLabel", "accessibilityHint", "styles", "classNames"];
|
|
2
2
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
3
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
4
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
@@ -16,7 +16,18 @@ import { Icon } from '../icons/Icon';
|
|
|
16
16
|
import { Pressable } from '../system/Pressable';
|
|
17
17
|
import { ProgressCircle } from '../visualizations/ProgressCircle';
|
|
18
18
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
19
|
-
|
|
19
|
+
/**
|
|
20
|
+
* Static class names for IconButton component parts.
|
|
21
|
+
* Use these selectors to target specific elements with CSS.
|
|
22
|
+
*/
|
|
23
|
+
export const iconButtonClassNames = {
|
|
24
|
+
/** Root button element */
|
|
25
|
+
root: 'cds-IconButton',
|
|
26
|
+
/** Inner icon glyph element */
|
|
27
|
+
icon: 'cds-IconButton-icon',
|
|
28
|
+
/** Loading progress circle element */
|
|
29
|
+
progressCircle: 'cds-IconButton-progressCircle'
|
|
30
|
+
};
|
|
20
31
|
export const iconButtonDefaultElement = 'button';
|
|
21
32
|
const baseCss = "baseCss-b1po8mo6";
|
|
22
33
|
export const IconButton = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_props, ref) => {
|
|
@@ -44,7 +55,9 @@ export const IconButton = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_props, ref
|
|
|
44
55
|
loading,
|
|
45
56
|
progressCircleSize,
|
|
46
57
|
accessibilityLabel,
|
|
47
|
-
accessibilityHint
|
|
58
|
+
accessibilityHint,
|
|
59
|
+
styles,
|
|
60
|
+
classNames
|
|
48
61
|
} = mergedProps,
|
|
49
62
|
props = _objectWithoutProperties(mergedProps, _excluded);
|
|
50
63
|
const Component = as !== null && as !== void 0 ? as : iconButtonDefaultElement;
|
|
@@ -53,7 +66,7 @@ export const IconButton = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_props, ref
|
|
|
53
66
|
const spinnerSize = iconSizeValue / 10;
|
|
54
67
|
const resolvedPadding = useResolveResponsiveProp(padding);
|
|
55
68
|
const pressableStyle = useMemo(() => {
|
|
56
|
-
if (!flush || !resolvedPadding) return
|
|
69
|
+
if (!flush || !resolvedPadding) return style;
|
|
57
70
|
const negativeMargin = -theme.space[resolvedPadding];
|
|
58
71
|
return _objectSpread(_objectSpread({}, style), flush === 'start' ? {
|
|
59
72
|
marginInlineStart: negativeMargin
|
|
@@ -76,7 +89,7 @@ export const IconButton = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_props, ref
|
|
|
76
89
|
borderColor: borderColorValue,
|
|
77
90
|
borderRadius: borderRadius,
|
|
78
91
|
borderWidth: borderWidth,
|
|
79
|
-
className: cx(
|
|
92
|
+
className: cx(iconButtonClassNames.root, baseCss, classNames === null || classNames === void 0 ? void 0 : classNames.root, className),
|
|
80
93
|
color: colorValue,
|
|
81
94
|
"data-compact": compact,
|
|
82
95
|
"data-flush": flush,
|
|
@@ -91,15 +104,23 @@ export const IconButton = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_props, ref
|
|
|
91
104
|
children: loading ? /*#__PURE__*/_jsx(ProgressCircle, {
|
|
92
105
|
indeterminate: true,
|
|
93
106
|
accessibilityLabel: "Loading",
|
|
107
|
+
className: cx(iconButtonClassNames.progressCircle, classNames === null || classNames === void 0 ? void 0 : classNames.progressCircle),
|
|
94
108
|
color: "currentColor",
|
|
95
109
|
size: progressCircleSize !== null && progressCircleSize !== void 0 ? progressCircleSize : iconSizeValue,
|
|
110
|
+
style: styles === null || styles === void 0 ? void 0 : styles.progressCircle,
|
|
96
111
|
testID: props.testID ? "".concat(props.testID, "-progress-circle") : undefined,
|
|
97
112
|
weight: "thin"
|
|
98
113
|
}) : /*#__PURE__*/_jsx(Icon, {
|
|
99
114
|
active: active,
|
|
115
|
+
classNames: {
|
|
116
|
+
icon: cx(iconButtonClassNames.icon, classNames === null || classNames === void 0 ? void 0 : classNames.icon)
|
|
117
|
+
},
|
|
100
118
|
color: "currentColor",
|
|
101
119
|
name: name,
|
|
102
|
-
size: iconSize
|
|
120
|
+
size: iconSize,
|
|
121
|
+
styles: {
|
|
122
|
+
icon: styles === null || styles === void 0 ? void 0 : styles.icon
|
|
123
|
+
}
|
|
103
124
|
})
|
|
104
125
|
}));
|
|
105
126
|
}));
|
package/esm/chips/TabbedChips.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const _excluded = ["label", "id"],
|
|
2
|
-
_excluded2 = ["tabs", "value", "onChange", "Component", "paddleStyle", "testID", "background", "gap", "role", "previousArrowAccessibilityLabel", "nextArrowAccessibilityLabel", "width"];
|
|
2
|
+
_excluded2 = ["tabs", "value", "onChange", "Component", "paddleStyle", "testID", "background", "gap", "role", "previousArrowAccessibilityLabel", "nextArrowAccessibilityLabel", "width", "color"];
|
|
3
3
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4
4
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5
5
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
@@ -64,7 +64,8 @@ const TabbedChipsComponent = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(function
|
|
|
64
64
|
role,
|
|
65
65
|
previousArrowAccessibilityLabel = 'Previous',
|
|
66
66
|
nextArrowAccessibilityLabel = 'Next',
|
|
67
|
-
width = '100%'
|
|
67
|
+
width = '100%',
|
|
68
|
+
color
|
|
68
69
|
} = mergedProps,
|
|
69
70
|
props = _objectWithoutProperties(mergedProps, _excluded2);
|
|
70
71
|
const [scrollTarget, setScrollTarget] = useState(null);
|
|
@@ -122,6 +123,7 @@ const TabbedChipsComponent = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(function
|
|
|
122
123
|
TabsActiveIndicatorComponent: TabsActiveIndicatorComponent,
|
|
123
124
|
activeTab: activeTab || null,
|
|
124
125
|
background: background,
|
|
126
|
+
color: color,
|
|
125
127
|
gap: gap,
|
|
126
128
|
onActiveTabElementChange: setScrollTarget,
|
|
127
129
|
onChange: handleChange,
|
|
@@ -54,27 +54,23 @@ export const Collapsible = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_props, fo
|
|
|
54
54
|
};
|
|
55
55
|
}, [direction, maxWidth, maxHeight]);
|
|
56
56
|
|
|
57
|
-
//
|
|
58
|
-
|
|
59
|
-
//
|
|
60
|
-
|
|
61
|
-
|
|
57
|
+
// display: none is applied after the collapse animation completes so the element no longer
|
|
58
|
+
// participates in layout and its children are not focusable. It is restored immediately when
|
|
59
|
+
// expanding so the animation has content to reveal.
|
|
60
|
+
const [isDisplayNone, setIsDisplayNone] = useState(collapsed);
|
|
61
|
+
if (!collapsed && isDisplayNone) {
|
|
62
|
+
setIsDisplayNone(false);
|
|
62
63
|
}
|
|
63
|
-
|
|
64
|
-
// when the animation completes, set the visibility to "hidden" if the content should be collapsed
|
|
65
|
-
// this is to prevent children of the Collapsible element from being focusable in this state
|
|
66
64
|
const handleAnimationComplete = useCallback(() => {
|
|
67
65
|
if (collapsed) {
|
|
68
|
-
|
|
66
|
+
setIsDisplayNone(true);
|
|
69
67
|
}
|
|
70
68
|
}, [collapsed]);
|
|
71
|
-
|
|
72
|
-
// merge visible style with the computed framer-motion styles
|
|
73
69
|
const style = useMemo(() => {
|
|
74
|
-
return _objectSpread(_objectSpread({}, motionStyle), {}, {
|
|
75
|
-
|
|
76
|
-
});
|
|
77
|
-
}, [
|
|
70
|
+
return isDisplayNone ? _objectSpread(_objectSpread({}, motionStyle), {}, {
|
|
71
|
+
display: 'none'
|
|
72
|
+
}) : motionStyle;
|
|
73
|
+
}, [motionStyle, isDisplayNone]);
|
|
78
74
|
return (
|
|
79
75
|
/*#__PURE__*/
|
|
80
76
|
// TODO: Remove type assertion after upgrading framer-motion to v11+ for React 19 compatibility
|
|
@@ -84,5 +84,10 @@ const CheckboxGroupWithRef = /*#__PURE__*/forwardRef(function CheckboxGroupWithR
|
|
|
84
84
|
value: selectedValuesArray
|
|
85
85
|
});
|
|
86
86
|
});
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* @deprecated CheckboxGroup is deprecated. Use ControlGroup with accessibilityRole="group" instead. This will be removed in a future major release.
|
|
90
|
+
* @deprecationExpectedRemoval v10
|
|
91
|
+
*/
|
|
87
92
|
export const CheckboxGroup = /*#__PURE__*/memo(CheckboxGroupWithRef);
|
|
88
93
|
import "./CheckboxGroup.css";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const _excluded = ["color", "disabled"];
|
|
1
|
+
const _excluded = ["color", "disabled", "font"];
|
|
2
2
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
3
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
4
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
@@ -12,7 +12,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
12
12
|
export const InputLabel = /*#__PURE__*/memo(function InputLabel(_ref) {
|
|
13
13
|
let {
|
|
14
14
|
color = 'fg',
|
|
15
|
-
disabled = false
|
|
15
|
+
disabled = false,
|
|
16
|
+
font = 'label1'
|
|
16
17
|
} = _ref,
|
|
17
18
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
18
19
|
return /*#__PURE__*/_jsx(Text, _objectSpread({
|
|
@@ -20,7 +21,7 @@ export const InputLabel = /*#__PURE__*/memo(function InputLabel(_ref) {
|
|
|
20
21
|
color: color,
|
|
21
22
|
disabled: disabled,
|
|
22
23
|
display: "block",
|
|
23
|
-
font:
|
|
24
|
+
font: font,
|
|
24
25
|
paddingY: 0.5
|
|
25
26
|
}, props));
|
|
26
27
|
});
|
|
@@ -100,9 +100,7 @@ export const InputStack = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_props, ref
|
|
|
100
100
|
'--border-width-focused': "var(--borderWidth-".concat(focusedBorderWidth, ")")
|
|
101
101
|
}, inputBorderRadius);
|
|
102
102
|
}, [borderColorUnfocused, borderColorFocused, focusedBorderWidth, inputBorderRadius]);
|
|
103
|
-
const rootStyles = useMemo(() => _objectSpread({
|
|
104
|
-
style
|
|
105
|
-
}, styles === null || styles === void 0 ? void 0 : styles.root), [style, styles === null || styles === void 0 ? void 0 : styles.root]);
|
|
103
|
+
const rootStyles = useMemo(() => _objectSpread(_objectSpread({}, style), styles === null || styles === void 0 ? void 0 : styles.root), [style, styles === null || styles === void 0 ? void 0 : styles.root]);
|
|
106
104
|
return /*#__PURE__*/_jsxs(VStack, _objectSpread(_objectSpread({
|
|
107
105
|
className: cx(className, classNames === null || classNames === void 0 ? void 0 : classNames.root),
|
|
108
106
|
gap: inputStackGap,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const _excluded = ["containerSpacing", "testID", "align", "font", "onFocus", "onClick", "onBlur", "onKeyDown", "onChange", "accessibilityLabel", "accessibilityLabelledBy", "accessibilityHint", "compact", "className", "style"];
|
|
1
|
+
const _excluded = ["containerSpacing", "testID", "align", "font", "onFocus", "onClick", "onBlur", "onKeyDown", "onChange", "accessibilityLabel", "accessibilityLabelledBy", "accessibilityHint", "compact", "className", "caretColor", "style"];
|
|
2
2
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
3
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
4
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
@@ -30,6 +30,7 @@ export const NativeInput = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(function Na
|
|
|
30
30
|
accessibilityHint,
|
|
31
31
|
compact,
|
|
32
32
|
className,
|
|
33
|
+
caretColor = 'fgPrimary',
|
|
33
34
|
style
|
|
34
35
|
} = _ref,
|
|
35
36
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
@@ -39,8 +40,9 @@ export const NativeInput = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(function Na
|
|
|
39
40
|
const defaultContainerPadding = compact ? compactContainerPaddingCss : originalContainerPaddingCss;
|
|
40
41
|
const dynamicStyles = useMemo(() => _objectSpread({
|
|
41
42
|
textAlign: align,
|
|
42
|
-
colorScheme: activeColorScheme
|
|
43
|
-
|
|
43
|
+
colorScheme: activeColorScheme,
|
|
44
|
+
caretColor: "var(--color-".concat(caretColor, ")")
|
|
45
|
+
}, style), [align, activeColorScheme, caretColor, style]);
|
|
44
46
|
return /*#__PURE__*/_jsx(Box, _objectSpread({
|
|
45
47
|
ref: ref,
|
|
46
48
|
"aria-describedby": accessibilityHint,
|