@dreamcommerce/aurora 3.0.0-17 → 3.0.0-19
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/build/cjs/packages/aurora/src/components/box/box.js +7 -4
- package/build/cjs/packages/aurora/src/components/box/box.js.map +1 -1
- package/build/cjs/packages/aurora/src/components/stack/stack.js +5 -11
- package/build/cjs/packages/aurora/src/components/stack/stack.js.map +1 -1
- package/build/cjs/packages/aurora/src/components/typography/typography.js +5 -3
- package/build/cjs/packages/aurora/src/components/typography/typography.js.map +1 -1
- package/build/cjs/packages/aurora/src/constants/css_tokens/css_background_tokens.js +52 -0
- package/build/cjs/packages/aurora/src/constants/css_tokens/css_background_tokens.js.map +1 -0
- package/build/cjs/packages/aurora/src/constants/css_tokens/css_border_radius_tokens.js +36 -0
- package/build/cjs/packages/aurora/src/constants/css_tokens/css_border_radius_tokens.js.map +1 -0
- package/build/cjs/packages/aurora/src/constants/css_tokens/css_border_style_tokens.js +14 -0
- package/build/cjs/packages/aurora/src/constants/css_tokens/css_border_style_tokens.js.map +1 -0
- package/build/cjs/packages/aurora/src/constants/css_tokens/css_border_width_tokens.js +9 -0
- package/build/cjs/packages/aurora/src/constants/css_tokens/css_border_width_tokens.js.map +1 -1
- package/build/cjs/packages/aurora/src/constants/css_tokens/css_box_shadow_tokens.js +16 -0
- package/build/cjs/packages/aurora/src/constants/css_tokens/css_box_shadow_tokens.js.map +1 -0
- package/build/cjs/packages/aurora/src/constants/css_tokens/css_font_weight_tokens.js +14 -0
- package/build/cjs/packages/aurora/src/constants/css_tokens/css_font_weight_tokens.js.map +1 -0
- package/build/cjs/packages/aurora/src/constants/css_tokens/css_margin_tokens.js +18 -0
- package/build/cjs/packages/aurora/src/constants/css_tokens/css_margin_tokens.js.map +1 -0
- package/build/cjs/packages/aurora/src/constants/css_tokens/css_padding_tokens.js +18 -0
- package/build/cjs/packages/aurora/src/constants/css_tokens/css_padding_tokens.js.map +1 -0
- package/build/cjs/packages/aurora/src/constants/css_tokens/css_position_tokens.js +14 -0
- package/build/cjs/packages/aurora/src/constants/css_tokens/css_position_tokens.js.map +1 -0
- package/build/cjs/packages/aurora/src/constants/css_tokens/css_screen_tokents.js +13 -0
- package/build/cjs/packages/aurora/src/constants/css_tokens/css_screen_tokents.js.map +1 -0
- package/build/cjs/packages/aurora/src/constants/css_tokens/css_spacing_tokens.js +43 -0
- package/build/cjs/packages/aurora/src/constants/css_tokens/css_spacing_tokens.js.map +1 -0
- package/build/cjs/packages/aurora/src/constants/css_tokens/css_text_color_tokens.js +38 -0
- package/build/cjs/packages/aurora/src/constants/css_tokens/css_text_color_tokens.js.map +1 -0
- package/build/cjs/packages/aurora/src/index.js +32 -0
- package/build/cjs/packages/aurora/src/index.js.map +1 -1
- package/build/esm/packages/aurora/src/components/box/box.d.ts +20 -2
- package/build/esm/packages/aurora/src/components/box/box.js +8 -5
- package/build/esm/packages/aurora/src/components/box/box.js.map +1 -1
- package/build/esm/packages/aurora/src/components/box/box_types.d.ts +2 -1
- package/build/esm/packages/aurora/src/components/box/box_types.js +1 -0
- package/build/esm/packages/aurora/src/components/box/box_types.js.map +1 -1
- package/build/esm/packages/aurora/src/components/stack/stack.d.ts +20 -2
- package/build/esm/packages/aurora/src/components/stack/stack.js +6 -12
- package/build/esm/packages/aurora/src/components/stack/stack.js.map +1 -1
- package/build/esm/packages/aurora/src/components/stack/stack_types.d.ts +1 -4
- package/build/esm/packages/aurora/src/components/tooltip/components/tooltip_content.d.ts +1 -2
- package/build/esm/packages/aurora/src/components/typography/typography.d.ts +254 -1
- package/build/esm/packages/aurora/src/components/typography/typography.js +6 -4
- package/build/esm/packages/aurora/src/components/typography/typography.js.map +1 -1
- package/build/esm/packages/aurora/src/components/typography/typography_types.d.ts +2 -2
- package/build/esm/packages/aurora/src/components/typography/typography_types.js +1 -0
- package/build/esm/packages/aurora/src/components/typography/typography_types.js.map +1 -1
- package/build/esm/packages/aurora/src/constants/css_tokens/css_background_tokens.js +47 -45
- package/build/esm/packages/aurora/src/constants/css_tokens/css_background_tokens.js.map +1 -1
- package/build/esm/packages/aurora/src/constants/css_tokens/css_border_radius_tokens.js +29 -27
- package/build/esm/packages/aurora/src/constants/css_tokens/css_border_radius_tokens.js.map +1 -1
- package/build/esm/packages/aurora/src/constants/css_tokens/css_border_style_tokens.js +9 -7
- package/build/esm/packages/aurora/src/constants/css_tokens/css_border_style_tokens.js.map +1 -1
- package/build/esm/packages/aurora/src/constants/css_tokens/css_border_width_tokens.js +9 -1
- package/build/esm/packages/aurora/src/constants/css_tokens/css_border_width_tokens.js.map +1 -1
- package/build/esm/packages/aurora/src/constants/css_tokens/css_box_shadow_tokens.js +11 -9
- package/build/esm/packages/aurora/src/constants/css_tokens/css_box_shadow_tokens.js.map +1 -1
- package/build/esm/packages/aurora/src/constants/css_tokens/css_font_weight_tokens.js +9 -7
- package/build/esm/packages/aurora/src/constants/css_tokens/css_font_weight_tokens.js.map +1 -1
- package/build/esm/packages/aurora/src/constants/css_tokens/css_margin_tokens.js +13 -11
- package/build/esm/packages/aurora/src/constants/css_tokens/css_margin_tokens.js.map +1 -1
- package/build/esm/packages/aurora/src/constants/css_tokens/css_padding_tokens.js +13 -11
- package/build/esm/packages/aurora/src/constants/css_tokens/css_padding_tokens.js.map +1 -1
- package/build/esm/packages/aurora/src/constants/css_tokens/css_position_tokens.js +9 -7
- package/build/esm/packages/aurora/src/constants/css_tokens/css_position_tokens.js.map +1 -1
- package/build/esm/packages/aurora/src/constants/css_tokens/css_screen_tokents.js +8 -6
- package/build/esm/packages/aurora/src/constants/css_tokens/css_screen_tokents.js.map +1 -1
- package/build/esm/packages/aurora/src/constants/css_tokens/css_spacing_tokens.js +38 -36
- package/build/esm/packages/aurora/src/constants/css_tokens/css_spacing_tokens.js.map +1 -1
- package/build/esm/packages/aurora/src/constants/css_tokens/css_text_color_tokens.js +33 -31
- package/build/esm/packages/aurora/src/constants/css_tokens/css_text_color_tokens.js.map +1 -1
- package/build/esm/packages/aurora/src/index.d.ts +17 -0
- package/build/esm/packages/aurora/src/index.js +15 -0
- package/build/esm/packages/aurora/src/index.js.map +1 -1
- package/package.json +4 -3
|
@@ -11,6 +11,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
11
11
|
|
|
12
12
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
13
13
|
|
|
14
|
+
var _excluded = ["shadow", "as", "backgroundColor", "color", "borderColor", "borderStyle", "borderWidth", "borderRadius", "paddings", "zIndex", "position", "children", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "className"];
|
|
14
15
|
var Box = /*#__PURE__*/React__default['default'].forwardRef(function (_ref, ref) {
|
|
15
16
|
var _cn;
|
|
16
17
|
var shadow = _ref.shadow,
|
|
@@ -33,12 +34,14 @@ var Box = /*#__PURE__*/React__default['default'].forwardRef(function (_ref, ref)
|
|
|
33
34
|
_ref$height = _ref.height,
|
|
34
35
|
height = _ref$height === void 0 ? 'auto' : _ref$height,
|
|
35
36
|
minHeight = _ref.minHeight,
|
|
36
|
-
maxHeight = _ref.maxHeight
|
|
37
|
+
maxHeight = _ref.maxHeight,
|
|
38
|
+
className = _ref.className,
|
|
39
|
+
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
|
37
40
|
var borderWidthWithSides = borderWidth;
|
|
38
41
|
var borderRadiusWithSides = borderRadius;
|
|
39
|
-
return /*#__PURE__*/React__default['default'].createElement(as, {
|
|
42
|
+
return /*#__PURE__*/React__default['default'].createElement(as, _rollupPluginBabelHelpers.objectSpread2({
|
|
40
43
|
ref: ref,
|
|
41
|
-
className: cn.cn(
|
|
44
|
+
className: cn.cn(className, (_cn = {}, _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_cn, 'aurora-bg', !backgroundColor), "aurora-bg-".concat(backgroundColor), !!backgroundColor), "aurora-text-".concat(color), !!color), "aurora-border", (!!borderColor || !!borderStyle || !!borderRadius) && !borderWidth), "aurora-border-".concat(borderColor), !!borderColor), "aurora-border-".concat(borderStyle), !!borderStyle), "aurora-border-".concat(borderWidth), !!borderWidth && typeof borderWidth === 'string'), "aurora-border-t-".concat(borderWidthWithSides === null || borderWidthWithSides === void 0 ? void 0 : borderWidthWithSides.t), !!(borderWidthWithSides !== null && borderWidthWithSides !== void 0 && borderWidthWithSides.t)), "aurora-border-b-".concat(borderWidthWithSides === null || borderWidthWithSides === void 0 ? void 0 : borderWidthWithSides.b), !!(borderWidthWithSides !== null && borderWidthWithSides !== void 0 && borderWidthWithSides.b)), "aurora-border-r-".concat(borderWidthWithSides === null || borderWidthWithSides === void 0 ? void 0 : borderWidthWithSides.r), !!(borderWidthWithSides !== null && borderWidthWithSides !== void 0 && borderWidthWithSides.r)), _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_cn, "aurora-border-l-".concat(borderWidthWithSides === null || borderWidthWithSides === void 0 ? void 0 : borderWidthWithSides.l), !!(borderWidthWithSides !== null && borderWidthWithSides !== void 0 && borderWidthWithSides.l)), "aurora-border-x-".concat(borderWidthWithSides === null || borderWidthWithSides === void 0 ? void 0 : borderWidthWithSides.x), !!(borderWidthWithSides !== null && borderWidthWithSides !== void 0 && borderWidthWithSides.x)), "aurora-border-y-".concat(borderWidthWithSides === null || borderWidthWithSides === void 0 ? void 0 : borderWidthWithSides.y), !!(borderWidthWithSides !== null && borderWidthWithSides !== void 0 && borderWidthWithSides.y)), "aurora-rounded-".concat(borderRadius), !!borderRadius && typeof borderRadius === 'string'), "aurora-rounded-t-".concat(borderRadiusWithSides === null || borderRadiusWithSides === void 0 ? void 0 : borderRadiusWithSides.t), !!(borderRadiusWithSides !== null && borderRadiusWithSides !== void 0 && borderRadiusWithSides.t)), "aurora-rounded-b-".concat(borderRadiusWithSides === null || borderRadiusWithSides === void 0 ? void 0 : borderRadiusWithSides.b), !!(borderRadiusWithSides !== null && borderRadiusWithSides !== void 0 && borderRadiusWithSides.b)), "aurora-rounded-r-".concat(borderRadiusWithSides === null || borderRadiusWithSides === void 0 ? void 0 : borderRadiusWithSides.r), !!(borderRadiusWithSides !== null && borderRadiusWithSides !== void 0 && borderRadiusWithSides.r)), "aurora-rounded-l-".concat(borderRadiusWithSides === null || borderRadiusWithSides === void 0 ? void 0 : borderRadiusWithSides.l), !!(borderRadiusWithSides !== null && borderRadiusWithSides !== void 0 && borderRadiusWithSides.l)), "aurora-rounded-tl-".concat(borderRadiusWithSides === null || borderRadiusWithSides === void 0 ? void 0 : borderRadiusWithSides.tl), !!(borderRadiusWithSides !== null && borderRadiusWithSides !== void 0 && borderRadiusWithSides.tl)), "aurora-rounded-tr-".concat(borderRadiusWithSides === null || borderRadiusWithSides === void 0 ? void 0 : borderRadiusWithSides.tr), !!(borderRadiusWithSides !== null && borderRadiusWithSides !== void 0 && borderRadiusWithSides.tr)), _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_cn, "aurora-rounded-bl-".concat(borderRadiusWithSides === null || borderRadiusWithSides === void 0 ? void 0 : borderRadiusWithSides.bl), !!(borderRadiusWithSides !== null && borderRadiusWithSides !== void 0 && borderRadiusWithSides.bl)), "aurora-rounded-br-".concat(borderRadiusWithSides === null || borderRadiusWithSides === void 0 ? void 0 : borderRadiusWithSides.br), !!(borderRadiusWithSides !== null && borderRadiusWithSides !== void 0 && borderRadiusWithSides.br)), "aurora-rounded-ee-".concat(borderRadiusWithSides === null || borderRadiusWithSides === void 0 ? void 0 : borderRadiusWithSides.ee), !!(borderRadiusWithSides !== null && borderRadiusWithSides !== void 0 && borderRadiusWithSides.ee)), "aurora-rounded-es-".concat(borderRadiusWithSides === null || borderRadiusWithSides === void 0 ? void 0 : borderRadiusWithSides.es), !!(borderRadiusWithSides !== null && borderRadiusWithSides !== void 0 && borderRadiusWithSides.es)), "aurora-rounded-ss-".concat(borderRadiusWithSides === null || borderRadiusWithSides === void 0 ? void 0 : borderRadiusWithSides.ss), !!(borderRadiusWithSides !== null && borderRadiusWithSides !== void 0 && borderRadiusWithSides.ss)), "aurora-rounded-se-".concat(borderRadiusWithSides === null || borderRadiusWithSides === void 0 ? void 0 : borderRadiusWithSides.se), !!(borderRadiusWithSides !== null && borderRadiusWithSides !== void 0 && borderRadiusWithSides.se)), "aurora-rounded-s-".concat(borderRadiusWithSides === null || borderRadiusWithSides === void 0 ? void 0 : borderRadiusWithSides.s), !!(borderRadiusWithSides !== null && borderRadiusWithSides !== void 0 && borderRadiusWithSides.s)), "aurora-rounded-e-".concat(borderRadiusWithSides === null || borderRadiusWithSides === void 0 ? void 0 : borderRadiusWithSides.e), !!(borderRadiusWithSides !== null && borderRadiusWithSides !== void 0 && borderRadiusWithSides.e)), "aurora-shadow-".concat(shadow), !!shadow), "aurora-p-".concat(paddings === null || paddings === void 0 ? void 0 : paddings.p), !!(paddings !== null && paddings !== void 0 && paddings.p)), _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_cn, "aurora-pt-".concat(paddings === null || paddings === void 0 ? void 0 : paddings.pt), !!(paddings !== null && paddings !== void 0 && paddings.pt)), "aurora-pr-".concat(paddings === null || paddings === void 0 ? void 0 : paddings.pr), !!(paddings !== null && paddings !== void 0 && paddings.pr)), "aurora-pb-".concat(paddings === null || paddings === void 0 ? void 0 : paddings.pb), !!(paddings !== null && paddings !== void 0 && paddings.pb)), "aurora-pl-".concat(paddings === null || paddings === void 0 ? void 0 : paddings.pl), !!(paddings !== null && paddings !== void 0 && paddings.pl)), "aurora-px-".concat(paddings === null || paddings === void 0 ? void 0 : paddings.px), !!(paddings !== null && paddings !== void 0 && paddings.px)), "aurora-py-".concat(paddings === null || paddings === void 0 ? void 0 : paddings.py), !!(paddings !== null && paddings !== void 0 && paddings.py)), "aurora-ps-".concat(paddings === null || paddings === void 0 ? void 0 : paddings.ps), !!(paddings !== null && paddings !== void 0 && paddings.ps)), "aurora-pe-".concat(paddings === null || paddings === void 0 ? void 0 : paddings.pe), !!(paddings !== null && paddings !== void 0 && paddings.pe)), "aurora-".concat(position), !!position))),
|
|
42
45
|
style: {
|
|
43
46
|
zIndex: zIndex,
|
|
44
47
|
width: width,
|
|
@@ -48,7 +51,7 @@ var Box = /*#__PURE__*/React__default['default'].forwardRef(function (_ref, ref)
|
|
|
48
51
|
minHeight: minHeight,
|
|
49
52
|
maxHeight: maxHeight
|
|
50
53
|
}
|
|
51
|
-
}, children);
|
|
54
|
+
}, rest), children);
|
|
52
55
|
});
|
|
53
56
|
Box.displayName = 'Box';
|
|
54
57
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -12,6 +12,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
12
12
|
|
|
13
13
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
14
14
|
|
|
15
|
+
var _excluded = ["children", "spacing", "className", "direction", "justifyContent", "alignItems", "wrap", "as", "inline", "attributes", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight"];
|
|
15
16
|
var stackVariants = index.cva('aurora-flex', {
|
|
16
17
|
variants: {
|
|
17
18
|
direction: _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, stack_constants.STACK_DIRECTION_TYPES.row, 'aurora-flex-row'), stack_constants.STACK_DIRECTION_TYPES.column, 'aurora-flex-col'), stack_constants.STACK_DIRECTION_TYPES.rowReverse, 'aurora-flex-row-reverse'), stack_constants.STACK_DIRECTION_TYPES.columnReverse, 'aurora-flex-col-reverse'),
|
|
@@ -39,17 +40,14 @@ var Stack = /*#__PURE__*/React__default['default'].forwardRef(function (_ref, re
|
|
|
39
40
|
as = _ref$as === void 0 ? 'div' : _ref$as,
|
|
40
41
|
_ref$inline = _ref.inline,
|
|
41
42
|
inline = _ref$inline === void 0 ? false : _ref$inline,
|
|
42
|
-
onMouseLeave = _ref.onMouseLeave,
|
|
43
|
-
onMouseEnter = _ref.onMouseEnter,
|
|
44
|
-
onMouseDown = _ref.onMouseDown,
|
|
45
43
|
attributes = _ref.attributes,
|
|
46
|
-
onClick = _ref.onClick,
|
|
47
44
|
width = _ref.width,
|
|
48
45
|
minWidth = _ref.minWidth,
|
|
49
46
|
maxWidth = _ref.maxWidth,
|
|
50
47
|
height = _ref.height,
|
|
51
48
|
minHeight = _ref.minHeight,
|
|
52
|
-
maxHeight = _ref.maxHeight
|
|
49
|
+
maxHeight = _ref.maxHeight,
|
|
50
|
+
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
|
53
51
|
var internalRef = React.useRef(null);
|
|
54
52
|
React.useImperativeHandle(ref, function () {
|
|
55
53
|
return internalRef.current;
|
|
@@ -65,7 +63,7 @@ var Stack = /*#__PURE__*/React__default['default'].forwardRef(function (_ref, re
|
|
|
65
63
|
});
|
|
66
64
|
}, [attributes]);
|
|
67
65
|
var display = inline ? 'inline' : null;
|
|
68
|
-
return /*#__PURE__*/React__default['default'].createElement(as, {
|
|
66
|
+
return /*#__PURE__*/React__default['default'].createElement(as, _rollupPluginBabelHelpers.objectSpread2({
|
|
69
67
|
ref: internalRef,
|
|
70
68
|
className: cn.cn(stackVariants({
|
|
71
69
|
direction: direction,
|
|
@@ -74,10 +72,6 @@ var Stack = /*#__PURE__*/React__default['default'].forwardRef(function (_ref, re
|
|
|
74
72
|
wrap: wrap,
|
|
75
73
|
display: display
|
|
76
74
|
}), className, _rollupPluginBabelHelpers.defineProperty({}, "aurora-gap-".concat(spacing), !!spacing)),
|
|
77
|
-
onMouseEnter: onMouseEnter,
|
|
78
|
-
onMouseLeave: onMouseLeave,
|
|
79
|
-
onMouseDown: onMouseDown,
|
|
80
|
-
onClick: onClick,
|
|
81
75
|
style: {
|
|
82
76
|
width: width,
|
|
83
77
|
minWidth: minWidth,
|
|
@@ -86,7 +80,7 @@ var Stack = /*#__PURE__*/React__default['default'].forwardRef(function (_ref, re
|
|
|
86
80
|
minHeight: minHeight,
|
|
87
81
|
maxHeight: maxHeight
|
|
88
82
|
}
|
|
89
|
-
}, children);
|
|
83
|
+
}, rest), children);
|
|
90
84
|
});
|
|
91
85
|
Stack.displayName = 'Stack';
|
|
92
86
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB,oEAAwE;AAC5F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB,oEAAwE;AAC5F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -11,6 +11,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
11
11
|
|
|
12
12
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
13
13
|
|
|
14
|
+
var _excluded = ["variant", "as", "style", "color", "weight", "size", "lineHeight", "transform", "children"];
|
|
14
15
|
var Typography = function Typography(_ref) {
|
|
15
16
|
var variant = _ref.variant,
|
|
16
17
|
_ref$as = _ref.as,
|
|
@@ -21,8 +22,9 @@ var Typography = function Typography(_ref) {
|
|
|
21
22
|
size = _ref.size,
|
|
22
23
|
lineHeight = _ref.lineHeight,
|
|
23
24
|
transform = _ref.transform,
|
|
24
|
-
children = _ref.children
|
|
25
|
-
|
|
25
|
+
children = _ref.children,
|
|
26
|
+
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
|
27
|
+
return /*#__PURE__*/React__default['default'].createElement(as, _rollupPluginBabelHelpers.objectSpread2({
|
|
26
28
|
className: cn.cn(typography_variants.typographyVariants({
|
|
27
29
|
variant: variant,
|
|
28
30
|
transform: transform,
|
|
@@ -31,7 +33,7 @@ var Typography = function Typography(_ref) {
|
|
|
31
33
|
lineHeight: lineHeight
|
|
32
34
|
}), _rollupPluginBabelHelpers.defineProperty({}, "aurora-text-".concat(color), !!color)),
|
|
33
35
|
style: style
|
|
34
|
-
}, children);
|
|
36
|
+
}, rest), children);
|
|
35
37
|
};
|
|
36
38
|
|
|
37
39
|
exports.Typography = Typography;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var CSS_BACKGROUND_TOKENS = {
|
|
6
|
+
hover: 'hover',
|
|
7
|
+
active: 'active',
|
|
8
|
+
subtle: 'subtle',
|
|
9
|
+
transparent: 'transparent',
|
|
10
|
+
transparentHover: 'transparent-hover',
|
|
11
|
+
transparentActive: 'transparent-active',
|
|
12
|
+
transparentSubtle: 'transparent-subtle',
|
|
13
|
+
inverse: 'inverse',
|
|
14
|
+
inverseHover: 'inverse-hover',
|
|
15
|
+
inverseActive: 'inverse-active',
|
|
16
|
+
inverseSubtle: 'inverse-subtle',
|
|
17
|
+
highlighted: 'highlighted',
|
|
18
|
+
primary: 'primary',
|
|
19
|
+
primaryHover: 'primary-hover',
|
|
20
|
+
primaryActive: 'primary-active',
|
|
21
|
+
primaryDark: 'primary-dark',
|
|
22
|
+
primaryTransparent: 'primary-transparent',
|
|
23
|
+
primaryTransparentHover: 'primary-transparent-hover',
|
|
24
|
+
primaryTransparentActive: 'primary-transparent-active',
|
|
25
|
+
successSubtle: 'success-subtle',
|
|
26
|
+
successSubtleHover: 'success-subtle-hover',
|
|
27
|
+
successSubtleActive: 'success-subtle-active',
|
|
28
|
+
success: 'success',
|
|
29
|
+
successHover: 'success-hover',
|
|
30
|
+
successActive: 'success-active',
|
|
31
|
+
dangerSubtle: 'danger-subtle',
|
|
32
|
+
dangerSubtleHover: 'danger-subtle-hover',
|
|
33
|
+
dangerSubtleActive: 'danger-subtle-active',
|
|
34
|
+
danger: 'danger',
|
|
35
|
+
dangerHover: 'danger-hover',
|
|
36
|
+
dangerActive: 'danger-active',
|
|
37
|
+
warningSubtle: 'warning-subtle',
|
|
38
|
+
warningSubtleHover: 'warning-subtle-hover',
|
|
39
|
+
warningSubtleActive: 'warning-subtle-active',
|
|
40
|
+
warning: 'warning',
|
|
41
|
+
warningHover: 'warning-hover',
|
|
42
|
+
warningActive: 'warning-active',
|
|
43
|
+
infoSubtle: 'info-subtle',
|
|
44
|
+
infoSubtleHover: 'info-subtle-hover',
|
|
45
|
+
infoSubtleActive: 'info-subtle-active',
|
|
46
|
+
info: 'info',
|
|
47
|
+
infoHover: 'info-hover',
|
|
48
|
+
infoActive: 'info-active'
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
exports.CSS_BACKGROUND_TOKENS = CSS_BACKGROUND_TOKENS;
|
|
52
|
+
//# sourceMappingURL=css_background_tokens.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var CSS_BORDER_RADIUS_TOKENS = {
|
|
6
|
+
0: '0',
|
|
7
|
+
2: '2',
|
|
8
|
+
4: '4',
|
|
9
|
+
6: '6',
|
|
10
|
+
8: '8',
|
|
11
|
+
12: '12',
|
|
12
|
+
16: '16',
|
|
13
|
+
24: '24',
|
|
14
|
+
40: '40',
|
|
15
|
+
full: 'full'
|
|
16
|
+
};
|
|
17
|
+
var CSS_BORDER_RADIUS_SIDE_TOKENS = {
|
|
18
|
+
t: 't',
|
|
19
|
+
r: 'r',
|
|
20
|
+
b: 'b',
|
|
21
|
+
l: 'l',
|
|
22
|
+
tl: 'tl',
|
|
23
|
+
tr: 'tr',
|
|
24
|
+
br: 'br',
|
|
25
|
+
bl: 'bl',
|
|
26
|
+
s: 's',
|
|
27
|
+
e: 'e',
|
|
28
|
+
ee: 'ee',
|
|
29
|
+
es: 'es',
|
|
30
|
+
se: 'se',
|
|
31
|
+
ss: 'ss'
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
exports.CSS_BORDER_RADIUS_SIDE_TOKENS = CSS_BORDER_RADIUS_SIDE_TOKENS;
|
|
35
|
+
exports.CSS_BORDER_RADIUS_TOKENS = CSS_BORDER_RADIUS_TOKENS;
|
|
36
|
+
//# sourceMappingURL=css_border_radius_tokens.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var CSS_BORDER_STYLE_TOKENS = {
|
|
6
|
+
solid: 'solid',
|
|
7
|
+
dashed: 'dashed',
|
|
8
|
+
dotted: 'dotted',
|
|
9
|
+
double: 'double',
|
|
10
|
+
none: 'none'
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
exports.CSS_BORDER_STYLE_TOKENS = CSS_BORDER_STYLE_TOKENS;
|
|
14
|
+
//# sourceMappingURL=css_border_style_tokens.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -9,6 +9,15 @@ var CSS_BORDER_WIDTH_TOKENS = {
|
|
|
9
9
|
4: '4',
|
|
10
10
|
8: '8'
|
|
11
11
|
};
|
|
12
|
+
var CSS_BORDER_WIDTH_SIDE_TOKENS = {
|
|
13
|
+
t: 't',
|
|
14
|
+
r: 'r',
|
|
15
|
+
b: 'b',
|
|
16
|
+
l: 'l',
|
|
17
|
+
x: 'x',
|
|
18
|
+
y: 'y'
|
|
19
|
+
};
|
|
12
20
|
|
|
21
|
+
exports.CSS_BORDER_WIDTH_SIDE_TOKENS = CSS_BORDER_WIDTH_SIDE_TOKENS;
|
|
13
22
|
exports.CSS_BORDER_WIDTH_TOKENS = CSS_BORDER_WIDTH_TOKENS;
|
|
14
23
|
//# sourceMappingURL=css_border_width_tokens.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var CSS_BOX_SHADOW_TOKENS = {
|
|
6
|
+
s: 's',
|
|
7
|
+
m: 'm',
|
|
8
|
+
l: 'l',
|
|
9
|
+
xl: 'xl',
|
|
10
|
+
's-inverse': 's-inverse',
|
|
11
|
+
'm-inverse': 'm-inverse',
|
|
12
|
+
'l-inverse': 'l-inverse'
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
exports.CSS_BOX_SHADOW_TOKENS = CSS_BOX_SHADOW_TOKENS;
|
|
16
|
+
//# sourceMappingURL=css_box_shadow_tokens.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var CSS_FONT_WEIGHT_TOKENS = {
|
|
6
|
+
normal: 'normal',
|
|
7
|
+
medium: 'medium',
|
|
8
|
+
semibold: 'semibold',
|
|
9
|
+
bold: 'bold',
|
|
10
|
+
extrabold: 'extrabold'
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
exports.CSS_FONT_WEIGHT_TOKENS = CSS_FONT_WEIGHT_TOKENS;
|
|
14
|
+
//# sourceMappingURL=css_font_weight_tokens.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var CSS_MARGIN_TOKENS = {
|
|
6
|
+
mt: 'mt',
|
|
7
|
+
mr: 'mr',
|
|
8
|
+
mb: 'mb',
|
|
9
|
+
ml: 'ml',
|
|
10
|
+
mx: 'mx',
|
|
11
|
+
my: 'my',
|
|
12
|
+
ms: 'ms',
|
|
13
|
+
me: 'me',
|
|
14
|
+
m: 'm'
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
exports.CSS_MARGIN_TOKENS = CSS_MARGIN_TOKENS;
|
|
18
|
+
//# sourceMappingURL=css_margin_tokens.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var CSS_PADDING_TOKENS = {
|
|
6
|
+
pt: 'pt',
|
|
7
|
+
pr: 'pr',
|
|
8
|
+
pb: 'pb',
|
|
9
|
+
pl: 'pl',
|
|
10
|
+
px: 'px',
|
|
11
|
+
py: 'py',
|
|
12
|
+
ps: 'ps',
|
|
13
|
+
pe: 'pe',
|
|
14
|
+
p: 'p'
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
exports.CSS_PADDING_TOKENS = CSS_PADDING_TOKENS;
|
|
18
|
+
//# sourceMappingURL=css_padding_tokens.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var CSS_POSITION_TOKENS = {
|
|
6
|
+
absolute: 'absolute',
|
|
7
|
+
relative: 'relative',
|
|
8
|
+
fixed: 'fixed',
|
|
9
|
+
sticky: 'sticky',
|
|
10
|
+
static: 'static'
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
exports.CSS_POSITION_TOKENS = CSS_POSITION_TOKENS;
|
|
14
|
+
//# sourceMappingURL=css_position_tokens.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var CSS_SCREEN_TOKENS = {
|
|
6
|
+
sm: 'sm',
|
|
7
|
+
md: 'md',
|
|
8
|
+
lg: 'lg',
|
|
9
|
+
xl: 'xl'
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
exports.CSS_SCREEN_TOKENS = CSS_SCREEN_TOKENS;
|
|
13
|
+
//# sourceMappingURL=css_screen_tokents.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var CSS_SPACING_TOKENS = {
|
|
6
|
+
0: '0',
|
|
7
|
+
0.5: '0.5',
|
|
8
|
+
1: '1',
|
|
9
|
+
1.5: '1.5',
|
|
10
|
+
2: '2',
|
|
11
|
+
2.5: '2.5',
|
|
12
|
+
3: '3',
|
|
13
|
+
3.5: '3.5',
|
|
14
|
+
4: '4',
|
|
15
|
+
5: '5',
|
|
16
|
+
6: '6',
|
|
17
|
+
7: '7',
|
|
18
|
+
8: '8',
|
|
19
|
+
9: '9',
|
|
20
|
+
10: '10',
|
|
21
|
+
11: '11',
|
|
22
|
+
12: '12',
|
|
23
|
+
14: '14',
|
|
24
|
+
16: '16',
|
|
25
|
+
20: '20',
|
|
26
|
+
24: '24',
|
|
27
|
+
28: '28',
|
|
28
|
+
32: '32',
|
|
29
|
+
36: '36',
|
|
30
|
+
40: '40',
|
|
31
|
+
44: '44',
|
|
32
|
+
48: '48',
|
|
33
|
+
52: '52',
|
|
34
|
+
56: '56',
|
|
35
|
+
60: '60',
|
|
36
|
+
64: '64',
|
|
37
|
+
72: '72',
|
|
38
|
+
80: '80',
|
|
39
|
+
90: '90'
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
exports.CSS_SPACING_TOKENS = CSS_SPACING_TOKENS;
|
|
43
|
+
//# sourceMappingURL=css_spacing_tokens.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var CSS_TEXT_COLOR_TOKENS = {
|
|
6
|
+
subtle: 'subtle',
|
|
7
|
+
subtleLight: 'subtle-light',
|
|
8
|
+
inverse: 'inverse',
|
|
9
|
+
inverseSubtle: 'inverse-subtle',
|
|
10
|
+
inverseSubtleLight: 'inverse-subtle-light',
|
|
11
|
+
inverseGhost: 'inverse-ghost',
|
|
12
|
+
inverseGhostLight: 'inverse-ghost-light',
|
|
13
|
+
interactive: 'interactive',
|
|
14
|
+
interactiveHover: 'interactive-hover',
|
|
15
|
+
interactiveActive: 'interactive-active',
|
|
16
|
+
interactiveInverse: 'interactive-inverse',
|
|
17
|
+
interactiveInverseHover: 'interactive-inverse-hover',
|
|
18
|
+
interactiveInverseActive: 'interactive-inverse-active',
|
|
19
|
+
success: 'success',
|
|
20
|
+
successHover: 'success-hover',
|
|
21
|
+
successActive: 'success-active',
|
|
22
|
+
successStrong: 'success-strong',
|
|
23
|
+
danger: 'danger',
|
|
24
|
+
dangerHover: 'danger-hover',
|
|
25
|
+
dangerActive: 'danger-active',
|
|
26
|
+
dangerStrong: 'danger-strong',
|
|
27
|
+
warning: 'warning',
|
|
28
|
+
warningHover: 'warning-hover',
|
|
29
|
+
warningActive: 'warning-active',
|
|
30
|
+
warningStrong: 'warning-strong',
|
|
31
|
+
info: 'info',
|
|
32
|
+
infoHover: 'info-hover',
|
|
33
|
+
infoActive: 'info-active',
|
|
34
|
+
infoStrong: 'info-strong'
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
exports.CSS_TEXT_COLOR_TOKENS = CSS_TEXT_COLOR_TOKENS;
|
|
38
|
+
//# sourceMappingURL=css_text_color_tokens.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -5,8 +5,23 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var badge_constants = require('./components/badge/badge_constants.js');
|
|
6
6
|
var badge = require('./components/badge/badge.js');
|
|
7
7
|
var box_constants = require('./components/box/box_constants.js');
|
|
8
|
+
var css_background_tokens = require('./constants/css_tokens/css_background_tokens.js');
|
|
9
|
+
var css_border_color_tokens = require('./constants/css_tokens/css_border_color_tokens.js');
|
|
10
|
+
var css_border_radius_tokens = require('./constants/css_tokens/css_border_radius_tokens.js');
|
|
11
|
+
var css_box_shadow_tokens = require('./constants/css_tokens/css_box_shadow_tokens.js');
|
|
12
|
+
var css_font_weight_tokens = require('./constants/css_tokens/css_font_weight_tokens.js');
|
|
13
|
+
var css_font_size_tokens = require('./constants/css_tokens/css_font_size_tokens.js');
|
|
14
|
+
var css_spacing_tokens = require('./constants/css_tokens/css_spacing_tokens.js');
|
|
15
|
+
var css_text_color_tokens = require('./constants/css_tokens/css_text_color_tokens.js');
|
|
16
|
+
var css_screen_tokents = require('./constants/css_tokens/css_screen_tokents.js');
|
|
17
|
+
var css_padding_tokens = require('./constants/css_tokens/css_padding_tokens.js');
|
|
18
|
+
var css_margin_tokens = require('./constants/css_tokens/css_margin_tokens.js');
|
|
19
|
+
var css_border_style_tokens = require('./constants/css_tokens/css_border_style_tokens.js');
|
|
20
|
+
var css_position_tokens = require('./constants/css_tokens/css_position_tokens.js');
|
|
21
|
+
var css_border_width_tokens = require('./constants/css_tokens/css_border_width_tokens.js');
|
|
8
22
|
var box = require('./components/box/box.js');
|
|
9
23
|
var typography_constants = require('./components/typography/typography_constants.js');
|
|
24
|
+
var css_line_height_tokens = require('./constants/css_tokens/css_line_height_tokens.js');
|
|
10
25
|
var typography = require('./components/typography/typography.js');
|
|
11
26
|
var use_sidebar = require('./components/sidebar/hooks/use_sidebar.js');
|
|
12
27
|
var sidebar_constants = require('./components/sidebar/sidebar_constants.js');
|
|
@@ -26,10 +41,27 @@ var tooltip_provider = require('./components/tooltip/context/tooltip_provider.js
|
|
|
26
41
|
exports.BADGE_VARIANTS = badge_constants.BADGE_VARIANTS;
|
|
27
42
|
exports.Badge = badge.Badge;
|
|
28
43
|
exports.BOX_COMPONENT_TYPES = box_constants.BOX_COMPONENT_TYPES;
|
|
44
|
+
exports.CSS_BACKGROUND_TOKENS = css_background_tokens.CSS_BACKGROUND_TOKENS;
|
|
45
|
+
exports.CSS_BORDER_COLOR_TOKENS = css_border_color_tokens.CSS_BORDER_COLOR_TOKENS;
|
|
46
|
+
exports.CSS_BORDER_RADIUS_SIDE_TOKENS = css_border_radius_tokens.CSS_BORDER_RADIUS_SIDE_TOKENS;
|
|
47
|
+
exports.CSS_BORDER_RADIUS_TOKENS = css_border_radius_tokens.CSS_BORDER_RADIUS_TOKENS;
|
|
48
|
+
exports.CSS_BOX_SHADOW_TOKENS = css_box_shadow_tokens.CSS_BOX_SHADOW_TOKENS;
|
|
49
|
+
exports.CSS_FONT_WEIGHT_TOKENS = css_font_weight_tokens.CSS_FONT_WEIGHT_TOKENS;
|
|
50
|
+
exports.CSS_FONT_SIZE_TOKENS = css_font_size_tokens.CSS_FONT_SIZE_TOKENS;
|
|
51
|
+
exports.CSS_SPACING_TOKENS = css_spacing_tokens.CSS_SPACING_TOKENS;
|
|
52
|
+
exports.CSS_TEXT_COLOR_TOKENS = css_text_color_tokens.CSS_TEXT_COLOR_TOKENS;
|
|
53
|
+
exports.CSS_SCREEN_TOKENS = css_screen_tokents.CSS_SCREEN_TOKENS;
|
|
54
|
+
exports.CSS_PADDING_TOKENS = css_padding_tokens.CSS_PADDING_TOKENS;
|
|
55
|
+
exports.CSS_MARGIN_TOKENS = css_margin_tokens.CSS_MARGIN_TOKENS;
|
|
56
|
+
exports.CSS_BORDER_STYLE_TOKENS = css_border_style_tokens.CSS_BORDER_STYLE_TOKENS;
|
|
57
|
+
exports.CSS_POSITION_TOKENS = css_position_tokens.CSS_POSITION_TOKENS;
|
|
58
|
+
exports.CSS_BORDER_WIDTH_SIDE_TOKENS = css_border_width_tokens.CSS_BORDER_WIDTH_SIDE_TOKENS;
|
|
59
|
+
exports.CSS_BORDER_WIDTH_TOKENS = css_border_width_tokens.CSS_BORDER_WIDTH_TOKENS;
|
|
29
60
|
exports.Box = box.Box;
|
|
30
61
|
exports.TYPOGRAPHY_COMPONENT_TYPES = typography_constants.TYPOGRAPHY_COMPONENT_TYPES;
|
|
31
62
|
exports.TYPOGRAPHY_TRANSFORM_TYPES = typography_constants.TYPOGRAPHY_TRANSFORM_TYPES;
|
|
32
63
|
exports.TYPOGRAPHY_WEIGHT_TYPES = typography_constants.TYPOGRAPHY_WEIGHT_TYPES;
|
|
64
|
+
exports.CSS_LINE_HEIGHT_TOKENS = css_line_height_tokens.CSS_LINE_HEIGHT_TOKENS;
|
|
33
65
|
exports.Typography = typography.Typography;
|
|
34
66
|
exports.useSidebar = use_sidebar.useSidebar;
|
|
35
67
|
exports.SIDEBAR_SIDE = sidebar_constants.SIDEBAR_SIDE;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
export declare const Box: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & {
|
|
3
|
+
as?: "div" | "span" | "section" | "ul" | "ol" | "li" | undefined;
|
|
4
|
+
color?: "subtle" | "subtle-light" | "inverse" | "inverse-subtle" | "inverse-subtle-light" | "inverse-ghost" | "inverse-ghost-light" | "interactive" | "interactive-hover" | "interactive-active" | "interactive-inverse" | "interactive-inverse-hover" | "interactive-inverse-active" | "success" | "success-hover" | "success-active" | "success-strong" | "danger" | "danger-hover" | "danger-active" | "danger-strong" | "warning" | "warning-hover" | "warning-active" | "warning-strong" | "info" | "info-hover" | "info-active" | "info-strong" | undefined;
|
|
5
|
+
backgroundColor?: "subtle" | "inverse" | "inverse-subtle" | "success" | "success-hover" | "success-active" | "danger" | "danger-hover" | "danger-active" | "warning" | "warning-hover" | "warning-active" | "info" | "info-hover" | "info-active" | "hover" | "active" | "transparent" | "transparent-hover" | "transparent-active" | "transparent-subtle" | "inverse-hover" | "inverse-active" | "highlighted" | "primary" | "primary-hover" | "primary-active" | "primary-dark" | "primary-transparent" | "primary-transparent-hover" | "primary-transparent-active" | "success-subtle" | "success-subtle-hover" | "success-subtle-active" | "danger-subtle" | "danger-subtle-hover" | "danger-subtle-active" | "warning-subtle" | "warning-subtle-hover" | "warning-subtle-active" | "info-subtle" | "info-subtle-hover" | "info-subtle-active" | undefined;
|
|
6
|
+
borderColor?: "subtle" | "inverse" | "inverse-subtle" | "success" | "danger" | "danger-hover" | "danger-active" | "danger-strong" | "info" | "strong" | "active" | "transparent" | "inverse-active" | "primary" | "inverse-strong" | "focus" | undefined;
|
|
7
|
+
borderRadius?: "0" | "2" | "4" | "8" | "6" | "12" | "16" | "24" | "40" | "full" | Partial<Record<"b" | "br" | "s" | "tr" | "t" | "r" | "l" | "tl" | "bl" | "e" | "ee" | "es" | "se" | "ss", "0" | "2" | "4" | "8" | "6" | "12" | "16" | "24" | "40" | "full">> | undefined;
|
|
8
|
+
borderWidth?: "0" | "1" | "2" | "4" | "8" | Partial<Record<"b" | "t" | "r" | "l" | "x" | "y", "0" | "1" | "2" | "4" | "8">> | undefined;
|
|
9
|
+
borderStyle?: "solid" | "dashed" | "dotted" | "double" | "none" | undefined;
|
|
10
|
+
paddings?: Partial<import("../../typings/general").TPaddings> | undefined;
|
|
11
|
+
shadow?: "s" | "l" | "m" | "xl" | "s-inverse" | "m-inverse" | "l-inverse" | undefined;
|
|
12
|
+
position?: "absolute" | "relative" | "fixed" | "sticky" | "static" | undefined;
|
|
13
|
+
zIndex?: number | undefined;
|
|
14
|
+
width?: string | undefined;
|
|
15
|
+
minWidth?: string | undefined;
|
|
16
|
+
maxWidth?: string | undefined;
|
|
17
|
+
height?: string | undefined;
|
|
18
|
+
minHeight?: string | undefined;
|
|
19
|
+
maxHeight?: string | undefined;
|
|
20
|
+
className?: string | undefined;
|
|
21
|
+
} & {
|
|
4
22
|
children?: React.ReactNode;
|
|
5
23
|
} & React.RefAttributes<HTMLDivElement | null>>;
|