@atlaskit/ds-explorations 2.0.0 → 2.0.2
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 +13 -0
- package/dist/cjs/components/box.partial.js +62 -71
- package/dist/cjs/components/inline.partial.js +12 -16
- package/dist/cjs/components/interaction-surface.partial.js +35 -40
- package/dist/cjs/components/stack.partial.js +11 -13
- package/dist/cjs/components/surface-provider.js +1 -5
- package/dist/cjs/components/text.partial.js +34 -47
- package/dist/cjs/index.js +0 -6
- package/dist/cjs/internal/color-map.js +5 -6
- package/dist/cjs/internal/role-to-element.js +0 -1
- package/dist/cjs/internal/spacing-scale.js +0 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/components/box.partial.js +40 -39
- package/dist/es2019/components/inline.partial.js +5 -6
- package/dist/es2019/components/interaction-surface.partial.js +33 -34
- package/dist/es2019/components/stack.partial.js +5 -4
- package/dist/es2019/components/surface-provider.js +1 -2
- package/dist/es2019/components/text.partial.js +21 -25
- package/dist/es2019/internal/color-map.js +5 -5
- package/dist/es2019/version.json +1 -1
- package/dist/esm/components/box.partial.js +65 -65
- package/dist/esm/components/inline.partial.js +12 -13
- package/dist/esm/components/interaction-surface.partial.js +35 -36
- package/dist/esm/components/stack.partial.js +11 -10
- package/dist/esm/components/surface-provider.js +1 -2
- package/dist/esm/components/text.partial.js +35 -41
- package/dist/esm/internal/color-map.js +5 -5
- package/dist/esm/version.json +1 -1
- package/dist/types/components/box.partial.d.ts +14 -14
- package/dist/types/components/inline.partial.d.ts +2 -2
- package/dist/types/components/interaction-surface.partial.d.ts +3 -3
- package/dist/types/components/stack.partial.d.ts +2 -2
- package/dist/types/components/surface-provider.d.ts +2 -2
- package/dist/types/components/text.partial.d.ts +7 -7
- package/dist/types/internal/color-map.d.ts +5 -5
- package/package.json +2 -2
- package/report.api.md +16 -16
- package/scripts/__tests__/__snapshots__/codegen.test.tsx.snap +49 -49
- package/src/components/box.partial.tsx +33 -33
- package/src/components/inline.partial.tsx +2 -2
- package/src/components/interaction-surface.partial.tsx +22 -22
- package/src/components/stack.partial.tsx +2 -2
- package/src/components/text.partial.tsx +13 -13
- package/src/internal/color-map.tsx +5 -5
- package/tmp/api-report-tmp.d.ts +16 -16
package/tmp/api-report-tmp.d.ts
CHANGED
|
@@ -29,14 +29,14 @@ type BackgroundColor = keyof typeof backgroundColorMap;
|
|
|
29
29
|
// @public (undocumented)
|
|
30
30
|
const backgroundColorMap: {
|
|
31
31
|
readonly disabled: SerializedStyles;
|
|
32
|
-
readonly 'inverse.subtle': SerializedStyles;
|
|
33
32
|
readonly input: SerializedStyles;
|
|
33
|
+
readonly 'inverse.subtle': SerializedStyles;
|
|
34
34
|
readonly neutral: SerializedStyles;
|
|
35
35
|
readonly 'neutral.subtle': SerializedStyles;
|
|
36
36
|
readonly 'neutral.bold': SerializedStyles;
|
|
37
|
-
readonly 'brand.bold': SerializedStyles;
|
|
38
37
|
readonly selected: SerializedStyles;
|
|
39
38
|
readonly 'selected.bold': SerializedStyles;
|
|
39
|
+
readonly 'brand.bold': SerializedStyles;
|
|
40
40
|
readonly danger: SerializedStyles;
|
|
41
41
|
readonly 'danger.bold': SerializedStyles;
|
|
42
42
|
readonly warning: SerializedStyles;
|
|
@@ -51,21 +51,21 @@ const backgroundColorMap: {
|
|
|
51
51
|
readonly 'color.blanket.selected': SerializedStyles;
|
|
52
52
|
readonly 'color.blanket.danger': SerializedStyles;
|
|
53
53
|
readonly 'elevation.surface': SerializedStyles;
|
|
54
|
-
readonly 'elevation.surface.sunken': SerializedStyles;
|
|
55
|
-
readonly 'elevation.surface.raised': SerializedStyles;
|
|
56
54
|
readonly 'elevation.surface.overlay': SerializedStyles;
|
|
55
|
+
readonly 'elevation.surface.raised': SerializedStyles;
|
|
56
|
+
readonly 'elevation.surface.sunken': SerializedStyles;
|
|
57
57
|
};
|
|
58
58
|
|
|
59
59
|
// @public (undocumented)
|
|
60
60
|
const backgroundHoverColorMap: {
|
|
61
|
-
'inverse.subtle': SerializedStyles;
|
|
62
61
|
input: SerializedStyles;
|
|
62
|
+
'inverse.subtle': SerializedStyles;
|
|
63
63
|
neutral: SerializedStyles;
|
|
64
64
|
'neutral.subtle': SerializedStyles;
|
|
65
65
|
'neutral.bold': SerializedStyles;
|
|
66
|
-
'brand.bold': SerializedStyles;
|
|
67
66
|
selected: SerializedStyles;
|
|
68
67
|
'selected.bold': SerializedStyles;
|
|
68
|
+
'brand.bold': SerializedStyles;
|
|
69
69
|
danger: SerializedStyles;
|
|
70
70
|
'danger.bold': SerializedStyles;
|
|
71
71
|
warning: SerializedStyles;
|
|
@@ -77,8 +77,8 @@ const backgroundHoverColorMap: {
|
|
|
77
77
|
information: SerializedStyles;
|
|
78
78
|
'information.bold': SerializedStyles;
|
|
79
79
|
'elevation.surface': SerializedStyles;
|
|
80
|
-
'elevation.surface.raised': SerializedStyles;
|
|
81
80
|
'elevation.surface.overlay': SerializedStyles;
|
|
81
|
+
'elevation.surface.raised': SerializedStyles;
|
|
82
82
|
};
|
|
83
83
|
|
|
84
84
|
// @public (undocumented)
|
|
@@ -93,18 +93,18 @@ type BorderColor = keyof typeof borderColorMap;
|
|
|
93
93
|
// @public
|
|
94
94
|
const borderColorMap: {
|
|
95
95
|
readonly 'color.border': SerializedStyles;
|
|
96
|
-
readonly
|
|
97
|
-
readonly inverse: SerializedStyles;
|
|
96
|
+
readonly disabled: SerializedStyles;
|
|
98
97
|
readonly focused: SerializedStyles;
|
|
99
98
|
readonly input: SerializedStyles;
|
|
100
|
-
readonly
|
|
101
|
-
readonly brand: SerializedStyles;
|
|
99
|
+
readonly inverse: SerializedStyles;
|
|
102
100
|
readonly selected: SerializedStyles;
|
|
101
|
+
readonly brand: SerializedStyles;
|
|
103
102
|
readonly danger: SerializedStyles;
|
|
104
103
|
readonly warning: SerializedStyles;
|
|
105
104
|
readonly success: SerializedStyles;
|
|
106
105
|
readonly discovery: SerializedStyles;
|
|
107
106
|
readonly information: SerializedStyles;
|
|
107
|
+
readonly bold: SerializedStyles;
|
|
108
108
|
};
|
|
109
109
|
|
|
110
110
|
// @public (undocumented)
|
|
@@ -493,11 +493,11 @@ type Shadow = keyof typeof shadowMap;
|
|
|
493
493
|
|
|
494
494
|
// @public (undocumented)
|
|
495
495
|
const shadowMap: {
|
|
496
|
-
readonly raised: SerializedStyles;
|
|
497
496
|
readonly overflow: SerializedStyles;
|
|
498
|
-
readonly 'overflow.spread': SerializedStyles;
|
|
499
497
|
readonly 'overflow.perimeter': SerializedStyles;
|
|
498
|
+
readonly 'overflow.spread': SerializedStyles;
|
|
500
499
|
readonly overlay: SerializedStyles;
|
|
500
|
+
readonly raised: SerializedStyles;
|
|
501
501
|
};
|
|
502
502
|
|
|
503
503
|
// @public (undocumented)
|
|
@@ -516,18 +516,18 @@ type TextColor = keyof typeof textColorMap;
|
|
|
516
516
|
// @public
|
|
517
517
|
const textColorMap: {
|
|
518
518
|
readonly 'color.text': SerializedStyles;
|
|
519
|
-
readonly subtle: SerializedStyles;
|
|
520
|
-
readonly subtlest: SerializedStyles;
|
|
521
519
|
readonly disabled: SerializedStyles;
|
|
522
520
|
readonly inverse: SerializedStyles;
|
|
523
|
-
readonly brand: SerializedStyles;
|
|
524
521
|
readonly selected: SerializedStyles;
|
|
522
|
+
readonly brand: SerializedStyles;
|
|
525
523
|
readonly danger: SerializedStyles;
|
|
526
524
|
readonly warning: SerializedStyles;
|
|
527
525
|
readonly 'warning.inverse': SerializedStyles;
|
|
528
526
|
readonly success: SerializedStyles;
|
|
529
527
|
readonly discovery: SerializedStyles;
|
|
530
528
|
readonly information: SerializedStyles;
|
|
529
|
+
readonly subtlest: SerializedStyles;
|
|
530
|
+
readonly subtle: SerializedStyles;
|
|
531
531
|
};
|
|
532
532
|
|
|
533
533
|
// @public (undocumented)
|