@dreamcommerce/aurora 3.0.0-26 → 3.0.0-28
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/action_list/components/action_list_item.js +1 -1
- package/build/cjs/packages/aurora/src/components/action_list/components/action_list_radio_item.js +1 -1
- package/build/cjs/packages/aurora/src/components/action_list/components/action_list_sub_trigger.js +1 -1
- package/build/cjs/packages/aurora/src/components/box/box.js +7 -1
- package/build/cjs/packages/aurora/src/components/box/box.js.map +1 -1
- package/build/cjs/packages/aurora/src/components/link/link.js +31 -0
- package/build/cjs/packages/aurora/src/components/link/link.js.map +1 -0
- package/build/cjs/packages/aurora/src/components/link/link_constants.js +21 -0
- package/build/cjs/packages/aurora/src/components/link/link_constants.js.map +1 -0
- package/build/cjs/packages/aurora/src/components/link/link_variants.js +23 -0
- package/build/cjs/packages/aurora/src/components/link/link_variants.js.map +1 -0
- package/build/cjs/packages/aurora/src/index.js +6 -0
- package/build/cjs/packages/aurora/src/index.js.map +1 -1
- package/build/esm/packages/aurora/src/components/action_list/components/action_list_item.js +1 -1
- package/build/esm/packages/aurora/src/components/action_list/components/action_list_radio_item.js +1 -1
- package/build/esm/packages/aurora/src/components/action_list/components/action_list_sub_trigger.js +1 -1
- package/build/esm/packages/aurora/src/components/box/box.js +7 -1
- package/build/esm/packages/aurora/src/components/box/box.js.map +1 -1
- package/build/esm/packages/aurora/src/components/link/link.d.ts +4 -0
- package/build/esm/packages/aurora/src/components/link/link.js +23 -0
- package/build/esm/packages/aurora/src/components/link/link.js.map +1 -0
- package/build/esm/packages/aurora/src/components/link/link_constants.d.ts +12 -0
- package/build/esm/packages/aurora/src/components/link/link_constants.js +15 -0
- package/build/esm/packages/aurora/src/components/link/link_constants.js.map +1 -0
- package/build/esm/packages/aurora/src/components/link/link_types.d.ts +5 -0
- package/build/esm/packages/aurora/src/components/link/link_types.js +3 -0
- package/build/esm/packages/aurora/src/components/link/link_types.js.map +1 -0
- package/build/esm/packages/aurora/src/components/link/link_variants.d.ts +5 -0
- package/build/esm/packages/aurora/src/components/link/link_variants.js +19 -0
- package/build/esm/packages/aurora/src/components/link/link_variants.js.map +1 -0
- package/build/esm/packages/aurora/src/index.d.ts +2 -0
- package/build/esm/packages/aurora/src/index.js +2 -0
- package/build/esm/packages/aurora/src/index.js.map +1 -1
- package/build/index.css +1 -1
- package/package.json +1 -1
|
@@ -18,7 +18,7 @@ var ActionListItem = /*#__PURE__*/t__default['default'].forwardRef(function (_re
|
|
|
18
18
|
props = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
|
19
19
|
return /*#__PURE__*/t__default['default'].createElement(index.Item, _rollupPluginBabelHelpers.objectSpread2({
|
|
20
20
|
ref: ref,
|
|
21
|
-
className: cn.cn('aurora-relative aurora-outline-none aurora-flex aurora-cursor-
|
|
21
|
+
className: cn.cn('aurora-relative aurora-outline-none aurora-flex aurora-cursor-pointer aurora-select-none aurora-items-center aurora-gap-2.5 aurora-py-1.5 aurora-px-3 focus:aurora-bg-hover aurora-text-s aurora-transition-colors aurora-rounded-6 hover:aurora-bg-hover data-[disabled]:aurora-pointer-events-none data-[disabled]:aurora-opacity-50', inset && 'aurora-pl-8', className)
|
|
22
22
|
}, props));
|
|
23
23
|
});
|
|
24
24
|
ActionListItem.displayName = 'ActionListItem';
|
package/build/cjs/packages/aurora/src/components/action_list/components/action_list_radio_item.js
CHANGED
|
@@ -21,7 +21,7 @@ var ActionListRadioItem = /*#__PURE__*/t__default['default'].forwardRef(function
|
|
|
21
21
|
props = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
|
22
22
|
return /*#__PURE__*/t__default['default'].createElement(index.RadioItem, _rollupPluginBabelHelpers.objectSpread2({
|
|
23
23
|
ref: ref,
|
|
24
|
-
className: cn.cn('aurora-relative aurora-outline-none aurora-py-1.5 aurora-px-3 aurora-flex aurora-cursor-
|
|
24
|
+
className: cn.cn('aurora-relative aurora-outline-none aurora-py-1.5 aurora-px-3 aurora-flex aurora-cursor-pointer aurora-select-none aurora-items-center aurora-gap-2.5 focus:aurora-bg-hover aurora-text-s aurora-transition-colors aurora-rounded-6 hover:aurora-bg-hover data-[disabled]:aurora-pointer-events-none data-[disabled]:aurora-opacity-50 data-[state=checked]:aurora-font-semibold', className),
|
|
25
25
|
disabled: disabled
|
|
26
26
|
}, props), /*#__PURE__*/t__default['default'].createElement(index.ItemIndicator, null, /*#__PURE__*/t__default['default'].createElement(check_fill_icon.CheckFillIcon, {
|
|
27
27
|
size: 20,
|
package/build/cjs/packages/aurora/src/components/action_list/components/action_list_sub_trigger.js
CHANGED
|
@@ -21,7 +21,7 @@ var ActionListSubTrigger = /*#__PURE__*/t__default['default'].forwardRef(functio
|
|
|
21
21
|
props = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
|
22
22
|
return /*#__PURE__*/t__default['default'].createElement(index.SubTrigger, _rollupPluginBabelHelpers.objectSpread2({
|
|
23
23
|
ref: ref,
|
|
24
|
-
className: cn.cn('aurora-relative aurora-outline-none aurora-py-1 aurora-px-3 aurora-flex aurora-justify-between aurora-cursor-
|
|
24
|
+
className: cn.cn('aurora-relative aurora-outline-none aurora-py-1 aurora-px-3 aurora-flex aurora-justify-between aurora-cursor-pointer aurora-select-none aurora-items-center aurora-gap-2.5 focus:aurora-bg-hover aurora-text-s aurora-transition-colors aurora-rounded-6 hover:aurora-bg-hover data-[disabled]:aurora-pointer-events-none data-[disabled]:aurora-opacity-50', inset && 'aurora-pl-8', className)
|
|
25
25
|
}, props), children, /*#__PURE__*/t__default['default'].createElement(arrow_right_line_icon.ArrowRightLineIcon, {
|
|
26
26
|
size: 20,
|
|
27
27
|
color: css_icon_color_tokens.CSS_ICON_COLOR_TOKENS_VALUES.subtle
|
|
@@ -60,7 +60,13 @@ var Box = /*#__PURE__*/t__default['default'].forwardRef(function (_ref, ref) {
|
|
|
60
60
|
height: height,
|
|
61
61
|
minHeight: minHeight,
|
|
62
62
|
maxHeight: maxHeight
|
|
63
|
-
}, style !== null && style !== void 0 ? style : {})
|
|
63
|
+
}, style !== null && style !== void 0 ? style : {}),
|
|
64
|
+
direction: direction,
|
|
65
|
+
justifyContent: justifyContent,
|
|
66
|
+
alignItems: alignItems,
|
|
67
|
+
spacing: spacing,
|
|
68
|
+
wrap: wrap,
|
|
69
|
+
inline: inline
|
|
64
70
|
}, rest), children);
|
|
65
71
|
});
|
|
66
72
|
Box.displayName = 'Box';
|
|
@@ -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;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;"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var t = require('react');
|
|
6
|
+
var _rollupPluginBabelHelpers = require('../../../../../_virtual/_rollupPluginBabelHelpers.js');
|
|
7
|
+
var cn = require('../../utilities/cn.js');
|
|
8
|
+
var link_variants = require('./link_variants.js');
|
|
9
|
+
|
|
10
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
11
|
+
|
|
12
|
+
var t__default = /*#__PURE__*/_interopDefaultLegacy(t);
|
|
13
|
+
|
|
14
|
+
var _excluded = ["children", "size", "variant", "decoration"];
|
|
15
|
+
var Link = function Link(_ref) {
|
|
16
|
+
var children = _ref.children,
|
|
17
|
+
size = _ref.size,
|
|
18
|
+
variant = _ref.variant,
|
|
19
|
+
decoration = _ref.decoration,
|
|
20
|
+
props = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
|
21
|
+
return /*#__PURE__*/t__default['default'].createElement("a", _rollupPluginBabelHelpers.objectSpread2({
|
|
22
|
+
className: cn.cn(link_variants.linkVariants({
|
|
23
|
+
size: size,
|
|
24
|
+
variant: variant,
|
|
25
|
+
decoration: decoration
|
|
26
|
+
}))
|
|
27
|
+
}, props), children);
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
exports.Link = Link;
|
|
31
|
+
//# sourceMappingURL=link.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;"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var LINK_SIZE_TYPES = {
|
|
6
|
+
basic: 'basic',
|
|
7
|
+
s: 's'
|
|
8
|
+
};
|
|
9
|
+
var LINK_VARIANT_TYPES = {
|
|
10
|
+
basic: 'basic',
|
|
11
|
+
monochromatic: 'monochromatic'
|
|
12
|
+
};
|
|
13
|
+
var LINK_DECORATION_TYPES = {
|
|
14
|
+
noUnderline: 'no-underline',
|
|
15
|
+
underline: 'underline'
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
exports.LINK_DECORATION_TYPES = LINK_DECORATION_TYPES;
|
|
19
|
+
exports.LINK_SIZE_TYPES = LINK_SIZE_TYPES;
|
|
20
|
+
exports.LINK_VARIANT_TYPES = LINK_VARIANT_TYPES;
|
|
21
|
+
//# sourceMappingURL=link_constants.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;"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var _rollupPluginBabelHelpers = require('../../../../../_virtual/_rollupPluginBabelHelpers.js');
|
|
6
|
+
var index = require('../../../../../external/class-variance-authority/dist/index.mjs.js');
|
|
7
|
+
var link_constants = require('./link_constants.js');
|
|
8
|
+
|
|
9
|
+
var linkVariants = index.cva('aurora-cursor-pointer aurora-transition-all aurora-duration-200', {
|
|
10
|
+
variants: {
|
|
11
|
+
variant: _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, link_constants.LINK_VARIANT_TYPES.basic, 'aurora-text-interactive hover:aurora-text-interactive-hover active:aurora-text-interactive-active'), link_constants.LINK_VARIANT_TYPES.monochromatic, 'aurora-text'),
|
|
12
|
+
decoration: _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, link_constants.LINK_DECORATION_TYPES.noUnderline, 'aurora-no-underline'), link_constants.LINK_DECORATION_TYPES.underline, 'aurora-underline'),
|
|
13
|
+
size: _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, link_constants.LINK_SIZE_TYPES.basic, 'aurora-text-s'), link_constants.LINK_SIZE_TYPES.s, 'aurora-text-xs')
|
|
14
|
+
},
|
|
15
|
+
defaultVariants: {
|
|
16
|
+
size: link_constants.LINK_SIZE_TYPES.basic,
|
|
17
|
+
variant: link_constants.LINK_VARIANT_TYPES.basic,
|
|
18
|
+
decoration: link_constants.LINK_DECORATION_TYPES.underline
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
exports.linkVariants = linkVariants;
|
|
23
|
+
//# sourceMappingURL=link_variants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA,oBAAoB,oEAAwE;AAC5F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -65,6 +65,8 @@ var tabs_trigger = require('./components/tabs/components/tabs_trigger.js');
|
|
|
65
65
|
var tabs_content = require('./components/tabs/components/tabs_content.js');
|
|
66
66
|
var popover = require('./components/popover/popover.js');
|
|
67
67
|
var popover_trigger = require('./components/popover/components/popover_trigger.js');
|
|
68
|
+
var link_constants = require('./components/link/link_constants.js');
|
|
69
|
+
var link = require('./components/link/link.js');
|
|
68
70
|
|
|
69
71
|
|
|
70
72
|
|
|
@@ -142,4 +144,8 @@ exports.TabsTrigger = tabs_trigger.TabsTrigger;
|
|
|
142
144
|
exports.TabsContent = tabs_content.TabsContent;
|
|
143
145
|
exports.Popover = popover.Popover;
|
|
144
146
|
exports.PopoverTrigger = popover_trigger.PopoverTrigger;
|
|
147
|
+
exports.LINK_DECORATION_TYPES = link_constants.LINK_DECORATION_TYPES;
|
|
148
|
+
exports.LINK_SIZE_TYPES = link_constants.LINK_SIZE_TYPES;
|
|
149
|
+
exports.LINK_VARIANT_TYPES = link_constants.LINK_VARIANT_TYPES;
|
|
150
|
+
exports.Link = link.Link;
|
|
145
151
|
//# sourceMappingURL=index.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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -10,7 +10,7 @@ var ActionListItem = /*#__PURE__*/t__default.forwardRef(function (_ref, ref) {
|
|
|
10
10
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
11
11
|
return /*#__PURE__*/t__default.createElement(Item2, _objectSpread2({
|
|
12
12
|
ref: ref,
|
|
13
|
-
className: cn('aurora-relative aurora-outline-none aurora-flex aurora-cursor-
|
|
13
|
+
className: cn('aurora-relative aurora-outline-none aurora-flex aurora-cursor-pointer aurora-select-none aurora-items-center aurora-gap-2.5 aurora-py-1.5 aurora-px-3 focus:aurora-bg-hover aurora-text-s aurora-transition-colors aurora-rounded-6 hover:aurora-bg-hover data-[disabled]:aurora-pointer-events-none data-[disabled]:aurora-opacity-50', inset && 'aurora-pl-8', className)
|
|
14
14
|
}, props));
|
|
15
15
|
});
|
|
16
16
|
ActionListItem.displayName = 'ActionListItem';
|
package/build/esm/packages/aurora/src/components/action_list/components/action_list_radio_item.js
CHANGED
|
@@ -13,7 +13,7 @@ var ActionListRadioItem = /*#__PURE__*/t__default.forwardRef(function (_ref, ref
|
|
|
13
13
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
14
14
|
return /*#__PURE__*/t__default.createElement(RadioItem2, _objectSpread2({
|
|
15
15
|
ref: ref,
|
|
16
|
-
className: cn('aurora-relative aurora-outline-none aurora-py-1.5 aurora-px-3 aurora-flex aurora-cursor-
|
|
16
|
+
className: cn('aurora-relative aurora-outline-none aurora-py-1.5 aurora-px-3 aurora-flex aurora-cursor-pointer aurora-select-none aurora-items-center aurora-gap-2.5 focus:aurora-bg-hover aurora-text-s aurora-transition-colors aurora-rounded-6 hover:aurora-bg-hover data-[disabled]:aurora-pointer-events-none data-[disabled]:aurora-opacity-50 data-[state=checked]:aurora-font-semibold', className),
|
|
17
17
|
disabled: disabled
|
|
18
18
|
}, props), /*#__PURE__*/t__default.createElement(ItemIndicator2, null, /*#__PURE__*/t__default.createElement(CheckFillIcon, {
|
|
19
19
|
size: 20,
|
package/build/esm/packages/aurora/src/components/action_list/components/action_list_sub_trigger.js
CHANGED
|
@@ -13,7 +13,7 @@ var ActionListSubTrigger = /*#__PURE__*/t__default.forwardRef(function (_ref, re
|
|
|
13
13
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
14
14
|
return /*#__PURE__*/t__default.createElement(SubTrigger2, _objectSpread2({
|
|
15
15
|
ref: ref,
|
|
16
|
-
className: cn('aurora-relative aurora-outline-none aurora-py-1 aurora-px-3 aurora-flex aurora-justify-between aurora-cursor-
|
|
16
|
+
className: cn('aurora-relative aurora-outline-none aurora-py-1 aurora-px-3 aurora-flex aurora-justify-between aurora-cursor-pointer aurora-select-none aurora-items-center aurora-gap-2.5 focus:aurora-bg-hover aurora-text-s aurora-transition-colors aurora-rounded-6 hover:aurora-bg-hover data-[disabled]:aurora-pointer-events-none data-[disabled]:aurora-opacity-50', inset && 'aurora-pl-8', className)
|
|
17
17
|
}, props), children, /*#__PURE__*/t__default.createElement(ArrowRightLineIcon, {
|
|
18
18
|
size: 20,
|
|
19
19
|
color: CSS_ICON_COLOR_TOKENS_VALUES.subtle
|
|
@@ -52,7 +52,13 @@ var Box = /*#__PURE__*/t__default.forwardRef(function (_ref, ref) {
|
|
|
52
52
|
height: height,
|
|
53
53
|
minHeight: minHeight,
|
|
54
54
|
maxHeight: maxHeight
|
|
55
|
-
}, style !== null && style !== void 0 ? style : {})
|
|
55
|
+
}, style !== null && style !== void 0 ? style : {}),
|
|
56
|
+
direction: direction,
|
|
57
|
+
justifyContent: justifyContent,
|
|
58
|
+
alignItems: alignItems,
|
|
59
|
+
spacing: spacing,
|
|
60
|
+
wrap: wrap,
|
|
61
|
+
inline: inline
|
|
56
62
|
}, rest), children);
|
|
57
63
|
});
|
|
58
64
|
Box.displayName = 'Box';
|
|
@@ -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;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;"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import t__default from 'react';
|
|
2
|
+
import { objectWithoutProperties as _objectWithoutProperties, objectSpread2 as _objectSpread2 } from '../../../../../_virtual/_rollupPluginBabelHelpers.js';
|
|
3
|
+
import { cn } from '../../utilities/cn.js';
|
|
4
|
+
import { linkVariants } from './link_variants.js';
|
|
5
|
+
|
|
6
|
+
var _excluded = ["children", "size", "variant", "decoration"];
|
|
7
|
+
var Link = function Link(_ref) {
|
|
8
|
+
var children = _ref.children,
|
|
9
|
+
size = _ref.size,
|
|
10
|
+
variant = _ref.variant,
|
|
11
|
+
decoration = _ref.decoration,
|
|
12
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
13
|
+
return /*#__PURE__*/t__default.createElement("a", _objectSpread2({
|
|
14
|
+
className: cn(linkVariants({
|
|
15
|
+
size: size,
|
|
16
|
+
variant: variant,
|
|
17
|
+
decoration: decoration
|
|
18
|
+
}))
|
|
19
|
+
}, props), children);
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export { Link };
|
|
23
|
+
//# sourceMappingURL=link.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;"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const LINK_SIZE_TYPES: {
|
|
2
|
+
readonly basic: "basic";
|
|
3
|
+
readonly s: "s";
|
|
4
|
+
};
|
|
5
|
+
export declare const LINK_VARIANT_TYPES: {
|
|
6
|
+
readonly basic: "basic";
|
|
7
|
+
readonly monochromatic: "monochromatic";
|
|
8
|
+
};
|
|
9
|
+
export declare const LINK_DECORATION_TYPES: {
|
|
10
|
+
readonly noUnderline: "no-underline";
|
|
11
|
+
readonly underline: "underline";
|
|
12
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
var LINK_SIZE_TYPES = {
|
|
2
|
+
basic: 'basic',
|
|
3
|
+
s: 's'
|
|
4
|
+
};
|
|
5
|
+
var LINK_VARIANT_TYPES = {
|
|
6
|
+
basic: 'basic',
|
|
7
|
+
monochromatic: 'monochromatic'
|
|
8
|
+
};
|
|
9
|
+
var LINK_DECORATION_TYPES = {
|
|
10
|
+
noUnderline: 'no-underline',
|
|
11
|
+
underline: 'underline'
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export { LINK_DECORATION_TYPES, LINK_SIZE_TYPES, LINK_VARIANT_TYPES };
|
|
15
|
+
//# sourceMappingURL=link_constants.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;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"link_types.js","sourceRoot":"","sources":["../../../../../../../src/components/link/link_types.ts"],"names":[],"mappings":"AAAA,OAAkB,OAAO,CAAC;AAE1B,OAA6B,sCAAsC,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const linkVariants: (props?: ({
|
|
2
|
+
variant?: "basic" | "monochromatic" | null | undefined;
|
|
3
|
+
decoration?: "no-underline" | "underline" | null | undefined;
|
|
4
|
+
size?: "basic" | "s" | null | undefined;
|
|
5
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { defineProperty as _defineProperty } from '../../../../../_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import { cva } from '../../../../../external/class-variance-authority/dist/index.mjs.js';
|
|
3
|
+
import { LINK_VARIANT_TYPES, LINK_DECORATION_TYPES, LINK_SIZE_TYPES } from './link_constants.js';
|
|
4
|
+
|
|
5
|
+
var linkVariants = cva('aurora-cursor-pointer aurora-transition-all aurora-duration-200', {
|
|
6
|
+
variants: {
|
|
7
|
+
variant: _defineProperty(_defineProperty({}, LINK_VARIANT_TYPES.basic, 'aurora-text-interactive hover:aurora-text-interactive-hover active:aurora-text-interactive-active'), LINK_VARIANT_TYPES.monochromatic, 'aurora-text'),
|
|
8
|
+
decoration: _defineProperty(_defineProperty({}, LINK_DECORATION_TYPES.noUnderline, 'aurora-no-underline'), LINK_DECORATION_TYPES.underline, 'aurora-underline'),
|
|
9
|
+
size: _defineProperty(_defineProperty({}, LINK_SIZE_TYPES.basic, 'aurora-text-s'), LINK_SIZE_TYPES.s, 'aurora-text-xs')
|
|
10
|
+
},
|
|
11
|
+
defaultVariants: {
|
|
12
|
+
size: LINK_SIZE_TYPES.basic,
|
|
13
|
+
variant: LINK_VARIANT_TYPES.basic,
|
|
14
|
+
decoration: LINK_DECORATION_TYPES.underline
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
export { linkVariants };
|
|
19
|
+
//# sourceMappingURL=link_variants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA,oBAAoB,oEAAwE;AAC5F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -64,3 +64,5 @@ export { CSS_POSITION_TOKENS } from "./constants/css_tokens/css_position_tokens"
|
|
|
64
64
|
export { CSS_BOX_SHADOW_TOKENS } from "./constants/css_tokens/css_box_shadow_tokens";
|
|
65
65
|
export { CSS_BORDER_COLOR_TOKENS } from "./constants/css_tokens/css_border_color_tokens";
|
|
66
66
|
export { CSS_ICON_COLOR_TOKENS_VALUES } from "./constants/css_tokens/css_icon_color_tokens";
|
|
67
|
+
export { Link } from "./components/link/link";
|
|
68
|
+
export { LINK_SIZE_TYPES, LINK_VARIANT_TYPES, LINK_DECORATION_TYPES } from "./components/link/link_constants";
|
|
@@ -61,4 +61,6 @@ export { TabsTrigger } from './components/tabs/components/tabs_trigger.js';
|
|
|
61
61
|
export { TabsContent } from './components/tabs/components/tabs_content.js';
|
|
62
62
|
export { Popover } from './components/popover/popover.js';
|
|
63
63
|
export { PopoverTrigger } from './components/popover/components/popover_trigger.js';
|
|
64
|
+
export { LINK_DECORATION_TYPES, LINK_SIZE_TYPES, LINK_VARIANT_TYPES } from './components/link/link_constants.js';
|
|
65
|
+
export { Link } from './components/link/link.js';
|
|
64
66
|
//# sourceMappingURL=index.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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;"}
|