@dreamcommerce/aurora 3.0.0-50 → 3.0.0-52
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/accordion/accordion.js +1 -1
- package/build/cjs/packages/aurora/src/components/action_list/components/action_list_trigger.js +1 -1
- package/build/cjs/packages/aurora/src/components/box/box.js +1 -2
- package/build/cjs/packages/aurora/src/components/box/box.js.map +1 -1
- package/build/cjs/packages/aurora/src/index.js +2 -12
- package/build/cjs/packages/aurora/src/index.js.map +1 -1
- package/build/esm/packages/aurora/src/assets/icons/lock_icon.d.ts +1 -0
- package/build/esm/packages/aurora/src/assets/icons/lock_icon.js +3 -0
- package/build/esm/packages/aurora/src/assets/icons/lock_icon.js.map +1 -0
- package/build/esm/packages/aurora/src/assets/icons/lock_unlock_icon.d.ts +1 -0
- package/build/esm/packages/aurora/src/assets/icons/lock_unlock_icon.js +3 -0
- package/build/esm/packages/aurora/src/assets/icons/lock_unlock_icon.js.map +1 -0
- package/build/esm/packages/aurora/src/components/accordion/accordion.js +1 -1
- package/build/esm/packages/aurora/src/components/action_list/components/action_list_trigger.js +1 -1
- package/build/esm/packages/aurora/src/components/box/box.js +1 -2
- package/build/esm/packages/aurora/src/components/box/box.js.map +1 -1
- package/build/esm/packages/aurora/src/components/drawer/components/drawer_close.js +3 -6
- package/build/esm/packages/aurora/src/components/drawer/components/drawer_close.js.map +1 -1
- package/build/esm/packages/aurora/src/components/drawer/components/drawer_content.js +12 -23
- package/build/esm/packages/aurora/src/components/drawer/components/drawer_content.js.map +1 -1
- package/build/esm/packages/aurora/src/components/drawer/components/drawer_portal.js +3 -6
- package/build/esm/packages/aurora/src/components/drawer/components/drawer_portal.js.map +1 -1
- package/build/esm/packages/aurora/src/components/drawer/components/drawer_title.js +15 -31
- package/build/esm/packages/aurora/src/components/drawer/components/drawer_title.js.map +1 -1
- package/build/esm/packages/aurora/src/components/drawer/components/drawer_trigger.js +3 -6
- package/build/esm/packages/aurora/src/components/drawer/components/drawer_trigger.js.map +1 -1
- package/build/esm/packages/aurora/src/components/drawer/context/drawer_context.d.ts +1 -1
- package/build/esm/packages/aurora/src/components/drawer/context/drawer_context.js +6 -7
- package/build/esm/packages/aurora/src/components/drawer/context/drawer_context.js.map +1 -1
- package/build/esm/packages/aurora/src/components/drawer/drawer.js +7 -24
- package/build/esm/packages/aurora/src/components/drawer/drawer.js.map +1 -1
- package/build/esm/packages/aurora/src/components/drawer/drawer_constants.js +6 -8
- package/build/esm/packages/aurora/src/components/drawer/drawer_constants.js.map +1 -1
- package/build/esm/packages/aurora/src/components/drawer/drawer_variants.d.ts +1 -1
- package/build/esm/packages/aurora/src/components/drawer/drawer_variants.js +13 -16
- package/build/esm/packages/aurora/src/components/drawer/drawer_variants.js.map +1 -1
- package/build/esm/packages/aurora/src/components/tooltip/components/tooltip_content.d.ts +5 -2
- package/build/esm/packages/aurora/src/components/tooltip/tooltip_types.d.ts +3 -1
- package/build/esm/packages/aurora/src/components/tooltip/tooltip_types.js +2 -0
- package/build/esm/packages/aurora/src/components/tooltip/tooltip_types.js.map +1 -1
- package/build/esm/packages/aurora/src/components/values_syncer/values_syncer.d.ts +4 -0
- package/build/esm/packages/aurora/src/components/values_syncer/values_syncer.js +44 -0
- package/build/esm/packages/aurora/src/components/values_syncer/values_syncer.js.map +1 -0
- package/build/esm/packages/aurora/src/components/values_syncer/values_syncer_types.d.ts +14 -0
- package/build/esm/packages/aurora/src/components/values_syncer/values_syncer_types.js +2 -0
- package/build/esm/packages/aurora/src/components/values_syncer/values_syncer_types.js.map +1 -0
- package/build/esm/packages/aurora/src/index.d.ts +1 -6
- package/build/esm/packages/aurora/src/index.js +1 -6
- package/build/esm/packages/aurora/src/index.js.map +1 -1
- package/build/index.css +1 -1
- package/package.json +1 -1
- package/build/cjs/packages/aurora/src/components/drawer/components/drawer_close.js +0 -10
- package/build/cjs/packages/aurora/src/components/drawer/components/drawer_close.js.map +0 -1
- package/build/cjs/packages/aurora/src/components/drawer/components/drawer_content.js +0 -29
- package/build/cjs/packages/aurora/src/components/drawer/components/drawer_content.js.map +0 -1
- package/build/cjs/packages/aurora/src/components/drawer/components/drawer_portal.js +0 -10
- package/build/cjs/packages/aurora/src/components/drawer/components/drawer_portal.js.map +0 -1
- package/build/cjs/packages/aurora/src/components/drawer/components/drawer_title.js +0 -36
- package/build/cjs/packages/aurora/src/components/drawer/components/drawer_title.js.map +0 -1
- package/build/cjs/packages/aurora/src/components/drawer/components/drawer_trigger.js +0 -10
- package/build/cjs/packages/aurora/src/components/drawer/components/drawer_trigger.js.map +0 -1
- package/build/cjs/packages/aurora/src/components/drawer/context/drawer_context.js +0 -17
- package/build/cjs/packages/aurora/src/components/drawer/context/drawer_context.js.map +0 -1
- package/build/cjs/packages/aurora/src/components/drawer/drawer.js +0 -29
- package/build/cjs/packages/aurora/src/components/drawer/drawer.js.map +0 -1
- package/build/cjs/packages/aurora/src/components/drawer/drawer_constants.js +0 -13
- package/build/cjs/packages/aurora/src/components/drawer/drawer_constants.js.map +0 -1
- package/build/cjs/packages/aurora/src/components/drawer/drawer_variants.js +0 -22
- package/build/cjs/packages/aurora/src/components/drawer/drawer_variants.js.map +0 -1
|
@@ -17,7 +17,7 @@ var Accordion = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
17
17
|
props = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
|
18
18
|
return /*#__PURE__*/React.createElement(AccordionPrimitive.Root, _rollupPluginBabelHelpers.objectSpread2({
|
|
19
19
|
ref: ref,
|
|
20
|
-
className: "aurora-block aurora-w-full"
|
|
20
|
+
className: "aurora-group aurora-block aurora-w-full"
|
|
21
21
|
}, props), /*#__PURE__*/React.createElement(accordion_context.AccordionContext.Provider, {
|
|
22
22
|
value: {
|
|
23
23
|
variant: variant
|
package/build/cjs/packages/aurora/src/components/action_list/components/action_list_trigger.js
CHANGED
|
@@ -6,8 +6,8 @@ var React = require('react');
|
|
|
6
6
|
var _rollupPluginBabelHelpers = require('../../../../../../_virtual/_rollupPluginBabelHelpers.js');
|
|
7
7
|
var cn = require('../../../utilities/cn.js');
|
|
8
8
|
require('@radix-ui/react-dropdown-menu');
|
|
9
|
-
var arrow_down_s_line_icon = require('../../../assets/icons/arrow_down_s_line_icon.js');
|
|
10
9
|
var action_list_generic_trigger = require('./action_list_generic_trigger.js');
|
|
10
|
+
var arrow_down_s_line_icon = require('../../../assets/icons/arrow_down_s_line_icon.js');
|
|
11
11
|
|
|
12
12
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
13
13
|
|
|
@@ -50,8 +50,7 @@ var Box = /*#__PURE__*/React__default['default'].forwardRef(function (_ref, ref)
|
|
|
50
50
|
var anyStackPropertiesSet = direction || justify || align || spacing || wrap || inline;
|
|
51
51
|
return /*#__PURE__*/React__default['default'].createElement(anyStackPropertiesSet ? stack.Stack : as, _rollupPluginBabelHelpers.objectSpread2({
|
|
52
52
|
ref: ref,
|
|
53
|
-
|
|
54
|
-
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) === '1' ? '' : "-".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) === '1' ? '' : "-".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) === '1' ? '' : "-".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) === '1' ? '' : "-".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) === '1' ? '' : "-".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) === '1' ? '' : "-".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))),
|
|
53
|
+
className: cn.cn((_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) === '1' ? '' : "-".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) === '1' ? '' : "-".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) === '1' ? '' : "-".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) === '1' ? '' : "-".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) === '1' ? '' : "-".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) === '1' ? '' : "-".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)), className),
|
|
55
54
|
style: _rollupPluginBabelHelpers.objectSpread2({
|
|
56
55
|
zIndex: zIndex,
|
|
57
56
|
width: width,
|
|
@@ -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;
|
|
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;"}
|
|
@@ -22,6 +22,7 @@ var accordion = require('./components/accordion/accordion.js');
|
|
|
22
22
|
var accordion_content = require('./components/accordion/components/accordion_content.js');
|
|
23
23
|
var accordion_item = require('./components/accordion/components/accordion_item.js');
|
|
24
24
|
var accordion_trigger = require('./components/accordion/components/accordion_trigger.js');
|
|
25
|
+
var action_list_generic_trigger = require('./components/action_list/components/action_list_generic_trigger.js');
|
|
25
26
|
var action_list = require('./components/action_list/action_list.js');
|
|
26
27
|
var box_constants = require('./components/box/box_constants.js');
|
|
27
28
|
var stack_constants = require('./components/stack/stack_constants.js');
|
|
@@ -80,12 +81,6 @@ var message_box_constants = require('./components/message_box/message_box_consta
|
|
|
80
81
|
var message_box = require('./components/message_box/message_box.js');
|
|
81
82
|
var helper_text = require('./components/helper_text/helper_text.js');
|
|
82
83
|
var error_list = require('./components/error_list/error_list.js');
|
|
83
|
-
var drawer_constants = require('./components/drawer/drawer_constants.js');
|
|
84
|
-
var drawer = require('./components/drawer/drawer.js');
|
|
85
|
-
var drawer_trigger = require('./components/drawer/components/drawer_trigger.js');
|
|
86
|
-
var drawer_content = require('./components/drawer/components/drawer_content.js');
|
|
87
|
-
var drawer_close = require('./components/drawer/components/drawer_close.js');
|
|
88
|
-
var drawer_title = require('./components/drawer/components/drawer_title.js');
|
|
89
84
|
var use_search = require('./hooks/search/use_search.js');
|
|
90
85
|
var tag_constants = require('./components/tag/tag_constants.js');
|
|
91
86
|
var tag = require('./components/tag/tag.js');
|
|
@@ -118,6 +113,7 @@ exports.Accordion = accordion.Accordion;
|
|
|
118
113
|
exports.AccordionContent = accordion_content.AccordionContent;
|
|
119
114
|
exports.AccordionItem = accordion_item.AccordionItem;
|
|
120
115
|
exports.AccordionTrigger = accordion_trigger.AccordionTrigger;
|
|
116
|
+
exports.ActionListGenericTrigger = action_list_generic_trigger.ActionListGenericTrigger;
|
|
121
117
|
exports.ActionList = action_list.ActionList;
|
|
122
118
|
exports.BOX_COMPONENT_TYPES = box_constants.BOX_COMPONENT_TYPES;
|
|
123
119
|
exports.STACK_ALIGN_ITEMS_TYPES = stack_constants.STACK_ALIGN_ITEMS_TYPES;
|
|
@@ -191,12 +187,6 @@ exports.MESSAGE_BOX_VARIANTS = message_box_constants.MESSAGE_BOX_VARIANTS;
|
|
|
191
187
|
exports.MessageBox = message_box.MessageBox;
|
|
192
188
|
exports.HelperText = helper_text.HelperText;
|
|
193
189
|
exports.ErrorList = error_list.ErrorList;
|
|
194
|
-
exports.DRAWER_DIRECTIONS = drawer_constants.DRAWER_DIRECTIONS;
|
|
195
|
-
exports.Drawer = drawer.Drawer;
|
|
196
|
-
exports.DrawerTrigger = drawer_trigger.DrawerTrigger;
|
|
197
|
-
exports.DrawerContent = drawer_content.DrawerContent;
|
|
198
|
-
exports.DrawerClose = drawer_close.DrawerClose;
|
|
199
|
-
exports.DrawerTitle = drawer_title.DrawerTitle;
|
|
200
190
|
exports.useSearch = use_search.useSearch;
|
|
201
191
|
exports.TAG_VARIANTS = tag_constants.TAG_VARIANTS;
|
|
202
192
|
exports.Tag = tag.Tag;
|
|
@@ -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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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 @@
|
|
|
1
|
+
export declare const LockLineIcon: import("@remixicon/react").RemixiconComponentType;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lock_icon.js","sourceRoot":"","sources":["../../../../../../../src/assets/icons/lock_icon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,MAAM,CAAC,MAAM,YAAY,GAAG,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const LockUnlockLineIcon: import("@remixicon/react").RemixiconComponentType;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lock_unlock_icon.js","sourceRoot":"","sources":["../../../../../../../src/assets/icons/lock_unlock_icon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEpD,MAAM,CAAC,MAAM,kBAAkB,GAAG,gBAAgB,CAAC"}
|
|
@@ -13,7 +13,7 @@ var Accordion = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
13
13
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
14
14
|
return /*#__PURE__*/createElement(Root, _objectSpread2({
|
|
15
15
|
ref: ref,
|
|
16
|
-
className: "aurora-block aurora-w-full"
|
|
16
|
+
className: "aurora-group aurora-block aurora-w-full"
|
|
17
17
|
}, props), /*#__PURE__*/createElement(AccordionContext.Provider, {
|
|
18
18
|
value: {
|
|
19
19
|
variant: variant
|
package/build/esm/packages/aurora/src/components/action_list/components/action_list_trigger.js
CHANGED
|
@@ -2,8 +2,8 @@ import React from 'react';
|
|
|
2
2
|
import { objectWithoutProperties as _objectWithoutProperties, objectSpread2 as _objectSpread2 } from '../../../../../../_virtual/_rollupPluginBabelHelpers.js';
|
|
3
3
|
import { cn } from '../../../utilities/cn.js';
|
|
4
4
|
import '@radix-ui/react-dropdown-menu';
|
|
5
|
-
import { ArrowDownSLineIcon } from '../../../assets/icons/arrow_down_s_line_icon.js';
|
|
6
5
|
import { ActionListGenericTrigger } from './action_list_generic_trigger.js';
|
|
6
|
+
import { ArrowDownSLineIcon } from '../../../assets/icons/arrow_down_s_line_icon.js';
|
|
7
7
|
|
|
8
8
|
var _excluded = ["children", "className"];
|
|
9
9
|
var ActionListTrigger = function ActionListTrigger(_ref) {
|
|
@@ -42,8 +42,7 @@ var Box = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
42
42
|
var anyStackPropertiesSet = direction || justify || align || spacing || wrap || inline;
|
|
43
43
|
return /*#__PURE__*/React.createElement(anyStackPropertiesSet ? Stack : as, _objectSpread2({
|
|
44
44
|
ref: ref,
|
|
45
|
-
|
|
46
|
-
className: cn(className, (_cn = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_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) === '1' ? '' : "-".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) === '1' ? '' : "-".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) === '1' ? '' : "-".concat(borderWidthWithSides === null || borderWidthWithSides === void 0 ? void 0 : borderWidthWithSides.r)), !!(borderWidthWithSides !== null && borderWidthWithSides !== void 0 && borderWidthWithSides.r)), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_cn, "aurora-border-l".concat((borderWidthWithSides === null || borderWidthWithSides === void 0 ? void 0 : borderWidthWithSides.l) === '1' ? '' : "-".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) === '1' ? '' : "-".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) === '1' ? '' : "-".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)), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_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)), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_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))),
|
|
45
|
+
className: cn((_cn = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_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) === '1' ? '' : "-".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) === '1' ? '' : "-".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) === '1' ? '' : "-".concat(borderWidthWithSides === null || borderWidthWithSides === void 0 ? void 0 : borderWidthWithSides.r)), !!(borderWidthWithSides !== null && borderWidthWithSides !== void 0 && borderWidthWithSides.r)), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_cn, "aurora-border-l".concat((borderWidthWithSides === null || borderWidthWithSides === void 0 ? void 0 : borderWidthWithSides.l) === '1' ? '' : "-".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) === '1' ? '' : "-".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) === '1' ? '' : "-".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)), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_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)), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_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)), className),
|
|
47
46
|
style: _objectSpread2({
|
|
48
47
|
zIndex: zIndex,
|
|
49
48
|
width: width,
|
|
@@ -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;
|
|
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;"}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { Drawer } from 'vaul';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export { DrawerClose };
|
|
6
|
-
//# sourceMappingURL=drawer_close.js.map
|
|
1
|
+
import { Drawer as DrawerPrimitive } from 'vaul';
|
|
2
|
+
export const DrawerClose = DrawerPrimitive.Close;
|
|
3
|
+
//# sourceMappingURL=drawer_close.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":
|
|
1
|
+
{"version":3,"file":"drawer_close.js","sourceRoot":"","sources":["../../../../../../../../src/components/drawer/components/drawer_close.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,MAAM,CAAC;AAEjD,MAAM,CAAC,MAAM,WAAW,GAAG,eAAe,CAAC,KAAK,CAAC"}
|
|
@@ -1,25 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import { cn } from '
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
children = _ref.children,
|
|
13
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
14
|
-
var drawerContext = useContext(DrawerContext);
|
|
15
|
-
return /*#__PURE__*/createElement(DrawerPortal, null, /*#__PURE__*/createElement(Drawer.Content, _objectSpread2({
|
|
16
|
-
ref: ref,
|
|
17
|
-
className: cn('aurora-fixed aurora-z-20 aurora--z-1 aurora-flex aurora-flex-col aurora-bg', drawerVariants({
|
|
18
|
-
direction: drawerContext.direction
|
|
19
|
-
}), className)
|
|
20
|
-
}, props), children));
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Drawer as DrawerPrimitive } from 'vaul';
|
|
3
|
+
import { cn } from '@auroraUtilities/cn';
|
|
4
|
+
import { DrawerPortal } from '@auroraComponents/drawer/components/drawer_portal';
|
|
5
|
+
import '@auroraComponents/drawer/drawer_types';
|
|
6
|
+
import { drawerVariants } from '@auroraComponents/drawer/drawer_variants';
|
|
7
|
+
import { DrawerContext } from '@auroraComponents/drawer/context/drawer_context';
|
|
8
|
+
export const DrawerContent = React.forwardRef(({ className, children, ...props }, ref) => {
|
|
9
|
+
const drawerContext = React.useContext(DrawerContext);
|
|
10
|
+
return (React.createElement(DrawerPortal, null,
|
|
11
|
+
React.createElement(DrawerPrimitive.Content, { ref: ref, className: cn('aurora-fixed aurora-z-20 aurora-flex aurora-flex-col aurora-bg', drawerVariants({ direction: drawerContext.direction }), className), ...props }, children)));
|
|
21
12
|
});
|
|
22
13
|
DrawerContent.displayName = 'DrawerContent';
|
|
23
|
-
|
|
24
|
-
export { DrawerContent };
|
|
25
|
-
//# sourceMappingURL=drawer_content.js.map
|
|
14
|
+
//# sourceMappingURL=drawer_content.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":
|
|
1
|
+
{"version":3,"file":"drawer_content.js","sourceRoot":"","sources":["../../../../../../../../src/components/drawer/components/drawer_content.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,MAAM,CAAC;AACjD,OAAO,EAAE,EAAE,EAAE,MAAM,qBAAqB,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,mDAAmD,CAAC;AACjF,OAAoC,uCAAuC,CAAC;AAC5E,OAAO,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAC1E,OAAO,EAAE,aAAa,EAAE,MAAM,iDAAiD,CAAC;AAEhF,MAAM,CAAC,MAAM,aAAa,GAAG,KAAK,CAAC,UAAU,CACzC,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IACvC,MAAM,aAAa,GAAG,KAAK,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;IAEtD,OAAO,CACH,oBAAC,YAAY;QACT,oBAAC,eAAe,CAAC,OAAO,IACpB,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,EAAE,CACT,gEAAgE,EAChE,cAAc,CAAC,EAAE,SAAS,EAAE,aAAa,CAAC,SAAS,EAAE,CAAC,EACtD,SAAS,CACZ,KACG,KAAK,IAER,QAAQ,CACa,CACf,CAClB,CAAC;AACN,CAAC,CACJ,CAAC;AAEF,aAAa,CAAC,WAAW,GAAG,eAAe,CAAC"}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { Drawer } from 'vaul';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export { DrawerPortal };
|
|
6
|
-
//# sourceMappingURL=drawer_portal.js.map
|
|
1
|
+
import { Drawer as DrawerPrimitive } from 'vaul';
|
|
2
|
+
export const DrawerPortal = DrawerPrimitive.Portal;
|
|
3
|
+
//# sourceMappingURL=drawer_portal.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":
|
|
1
|
+
{"version":3,"file":"drawer_portal.js","sourceRoot":"","sources":["../../../../../../../../src/components/drawer/components/drawer_portal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,MAAM,CAAC;AAEjD,MAAM,CAAC,MAAM,YAAY,GAAG,eAAe,CAAC,MAAM,CAAC"}
|
|
@@ -1,32 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import { cn } from '
|
|
4
|
-
import { Stack } from '
|
|
5
|
-
import { Typography } from '
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
15
|
-
return /*#__PURE__*/createElement(Drawer.Title, _objectSpread2({
|
|
16
|
-
ref: ref,
|
|
17
|
-
className: cn('', className)
|
|
18
|
-
}, props), /*#__PURE__*/createElement(Stack, {
|
|
19
|
-
justify: "between",
|
|
20
|
-
align: "center",
|
|
21
|
-
spacing: "3"
|
|
22
|
-
}, /*#__PURE__*/createElement(Typography, {
|
|
23
|
-
size: "lg",
|
|
24
|
-
weight: "semibold"
|
|
25
|
-
}, children), /*#__PURE__*/createElement(DrawerClose, null, /*#__PURE__*/createElement(CloseLineIcon, {
|
|
26
|
-
size: 24
|
|
27
|
-
}))));
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Drawer as DrawerPrimitive } from 'vaul';
|
|
3
|
+
import { cn } from '@auroraUtilities/cn';
|
|
4
|
+
import { Stack } from '@auroraComponents/stack/stack';
|
|
5
|
+
import { Typography } from '@auroraComponents/typography/typography';
|
|
6
|
+
import { DrawerClose } from '@auroraComponents/drawer/components/drawer_close';
|
|
7
|
+
import { CloseLineIcon } from '@auroraAssets/icons/close_icon';
|
|
8
|
+
export const DrawerTitle = React.forwardRef(({ className, children, ...props }, ref) => {
|
|
9
|
+
return (React.createElement(DrawerPrimitive.Title, { ref: ref, className: cn('', className), ...props },
|
|
10
|
+
React.createElement(Stack, { justify: "between", align: "center", spacing: "3" },
|
|
11
|
+
React.createElement(Typography, { size: "lg", weight: "semibold" }, children),
|
|
12
|
+
React.createElement(DrawerClose, null,
|
|
13
|
+
React.createElement(CloseLineIcon, { size: 24 })))));
|
|
28
14
|
});
|
|
29
|
-
DrawerTitle.displayName =
|
|
30
|
-
|
|
31
|
-
export { DrawerTitle };
|
|
32
|
-
//# sourceMappingURL=drawer_title.js.map
|
|
15
|
+
DrawerTitle.displayName = DrawerPrimitive.Title.displayName;
|
|
16
|
+
//# sourceMappingURL=drawer_title.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":
|
|
1
|
+
{"version":3,"file":"drawer_title.js","sourceRoot":"","sources":["../../../../../../../../src/components/drawer/components/drawer_title.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,MAAM,CAAC;AACjD,OAAO,EAAE,EAAE,EAAE,MAAM,qBAAqB,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,kDAAkD,CAAC;AAC/E,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAE/D,MAAM,CAAC,MAAM,WAAW,GAAG,KAAK,CAAC,UAAU,CAGzC,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IACzC,OAAO,CACH,oBAAC,eAAe,CAAC,KAAK,IAAC,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,EAAE,CAAC,EAAE,EAAE,SAAS,CAAC,KAAM,KAAK;QACpE,oBAAC,KAAK,IAAC,OAAO,EAAC,SAAS,EAAC,KAAK,EAAC,QAAQ,EAAC,OAAO,EAAC,GAAG;YAC/C,oBAAC,UAAU,IAAC,IAAI,EAAC,IAAI,EAAC,MAAM,EAAC,UAAU,IAClC,QAAQ,CACA;YAEb,oBAAC,WAAW;gBACR,oBAAC,aAAa,IAAC,IAAI,EAAE,EAAE,GAAI,CACjB,CACV,CACY,CAC3B,CAAC;AACN,CAAC,CAAC,CAAC;AAEH,WAAW,CAAC,WAAW,GAAG,eAAe,CAAC,KAAK,CAAC,WAAW,CAAC"}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { Drawer } from 'vaul';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export { DrawerTrigger };
|
|
6
|
-
//# sourceMappingURL=drawer_trigger.js.map
|
|
1
|
+
import { Drawer as DrawerPrimitive } from 'vaul';
|
|
2
|
+
export const DrawerTrigger = DrawerPrimitive.Trigger;
|
|
3
|
+
//# sourceMappingURL=drawer_trigger.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":
|
|
1
|
+
{"version":3,"file":"drawer_trigger.js","sourceRoot":"","sources":["../../../../../../../../src/components/drawer/components/drawer_trigger.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,MAAM,CAAC;AAEjD,MAAM,CAAC,MAAM,aAAa,GAAG,eAAe,CAAC,OAAO,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
|
3
3
|
export declare const DrawerContext: React.Context<VariantProps<(props?: ({
|
|
4
|
-
direction?: "
|
|
4
|
+
direction?: "top" | "bottom" | "left" | "right" | null | undefined;
|
|
5
5
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string>>;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
+
import { DRAWER_DIRECTIONS } from '@auroraComponents/drawer/drawer_constants';
|
|
1
2
|
import React from 'react';
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
import 'class-variance-authority';
|
|
4
|
+
import '@auroraComponents/drawer/drawer_variants';
|
|
5
|
+
export const DrawerContext = React.createContext({
|
|
6
|
+
direction: DRAWER_DIRECTIONS.left
|
|
6
7
|
});
|
|
7
|
-
|
|
8
|
-
export { DrawerContext };
|
|
9
|
-
//# sourceMappingURL=drawer_context.js.map
|
|
8
|
+
//# sourceMappingURL=drawer_context.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":
|
|
1
|
+
{"version":3,"file":"drawer_context.js","sourceRoot":"","sources":["../../../../../../../../src/components/drawer/context/drawer_context.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAA6B,0BAA0B,CAAC;AACxD,OAA+B,0CAA0C,CAAC;AAE1E,MAAM,CAAC,MAAM,aAAa,GAAG,KAAK,CAAC,aAAa,CAAsC;IAClF,SAAS,EAAE,iBAAiB,CAAC,IAAI;CACpC,CAAC,CAAC"}
|
|
@@ -1,25 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import { DrawerContext } from '
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
var Drawer = function Drawer(_ref) {
|
|
8
|
-
var _ref$shouldScaleBackg = _ref.shouldScaleBackground,
|
|
9
|
-
shouldScaleBackground = _ref$shouldScaleBackg === void 0 ? true : _ref$shouldScaleBackg,
|
|
10
|
-
_ref$direction = _ref.direction,
|
|
11
|
-
direction = _ref$direction === void 0 ? 'left' : _ref$direction,
|
|
12
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
13
|
-
return /*#__PURE__*/createElement(DrawerContext.Provider, {
|
|
14
|
-
value: {
|
|
15
|
-
direction: direction
|
|
16
|
-
}
|
|
17
|
-
}, /*#__PURE__*/createElement(Drawer$1.Root, _objectSpread2({
|
|
18
|
-
shouldScaleBackground: shouldScaleBackground,
|
|
19
|
-
direction: direction
|
|
20
|
-
}, props)));
|
|
21
|
-
};
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Drawer as DrawerPrimitive } from 'vaul';
|
|
3
|
+
import '@auroraComponents/drawer/drawer_types';
|
|
4
|
+
import { DrawerContext } from '@auroraComponents/drawer/context/drawer_context';
|
|
5
|
+
export const Drawer = ({ shouldScaleBackground = true, direction = 'left', ...props }) => (React.createElement(DrawerContext.Provider, { value: { direction } },
|
|
6
|
+
React.createElement(DrawerPrimitive.Root, { shouldScaleBackground: shouldScaleBackground, direction: direction, ...props })));
|
|
22
7
|
Drawer.displayName = 'Drawer';
|
|
23
|
-
|
|
24
|
-
export { Drawer };
|
|
25
|
-
//# sourceMappingURL=drawer.js.map
|
|
8
|
+
//# sourceMappingURL=drawer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":
|
|
1
|
+
{"version":3,"file":"drawer.js","sourceRoot":"","sources":["../../../../../../../src/components/drawer/drawer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,MAAM,CAAC;AACjD,OAA6B,uCAAuC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,iDAAiD,CAAC;AAEhF,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,EAAE,qBAAqB,GAAG,IAAI,EAAE,SAAS,GAAG,MAAM,EAAE,GAAG,KAAK,EAAgB,EAAE,EAAE,CAAC,CACpG,oBAAC,aAAa,CAAC,QAAQ,IAAC,KAAK,EAAE,EAAE,SAAS,EAAE;IACxC,oBAAC,eAAe,CAAC,IAAI,IAAC,qBAAqB,EAAE,qBAAqB,EAAE,SAAS,EAAE,SAAS,KAAM,KAAK,GAAI,CAClF,CAC5B,CAAC;AAEF,MAAM,CAAC,WAAW,GAAG,QAAQ,CAAC"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
export const DRAWER_DIRECTIONS = {
|
|
2
|
+
left: 'left',
|
|
3
|
+
right: 'right',
|
|
4
|
+
top: 'top',
|
|
5
|
+
bottom: 'bottom'
|
|
6
6
|
};
|
|
7
|
-
|
|
8
|
-
export { DRAWER_DIRECTIONS };
|
|
9
|
-
//# sourceMappingURL=drawer_constants.js.map
|
|
7
|
+
//# sourceMappingURL=drawer_constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":
|
|
1
|
+
{"version":3,"file":"drawer_constants.js","sourceRoot":"","sources":["../../../../../../../src/components/drawer/drawer_constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC7B,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,GAAG,EAAE,KAAK;IACV,MAAM,EAAE,QAAQ;CACV,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const drawerVariants: (props?: ({
|
|
2
|
-
direction?: "
|
|
2
|
+
direction?: "top" | "bottom" | "left" | "right" | null | undefined;
|
|
3
3
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
@@ -1,18 +1,15 @@
|
|
|
1
|
-
import { cva } from '
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { cva } from 'class-variance-authority';
|
|
2
|
+
export const drawerVariants = cva('', {
|
|
3
|
+
variants: {
|
|
4
|
+
direction: {
|
|
5
|
+
left: 'aurora-left-0 aurora-top-0',
|
|
6
|
+
right: 'aurora-right-0 aurora-top-0',
|
|
7
|
+
top: 'aurora-top-0 aurora-left-0',
|
|
8
|
+
bottom: 'aurora-bottom-0 aurora-left-0'
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
defaultVariants: {
|
|
12
|
+
direction: 'left'
|
|
10
13
|
}
|
|
11
|
-
},
|
|
12
|
-
defaultVariants: {
|
|
13
|
-
direction: 'left'
|
|
14
|
-
}
|
|
15
14
|
});
|
|
16
|
-
|
|
17
|
-
export { drawerVariants };
|
|
18
|
-
//# sourceMappingURL=drawer_variants.js.map
|
|
15
|
+
//# sourceMappingURL=drawer_variants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":
|
|
1
|
+
{"version":3,"file":"drawer_variants.js","sourceRoot":"","sources":["../../../../../../../src/components/drawer/drawer_variants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAE/C,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAAC,EAAE,EAAE;IAClC,QAAQ,EAAE;QACN,SAAS,EAAE;YACP,IAAI,EAAE,4BAA4B;YAClC,KAAK,EAAE,6BAA6B;YACpC,GAAG,EAAE,4BAA4B;YACjC,MAAM,EAAE,+BAA+B;SAC1C;KACJ;IACD,eAAe,EAAE;QACb,SAAS,EAAE,MAAM;KACpB;CACJ,CAAC,CAAC"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
export declare const TooltipContent: React.ForwardRefExoticComponent<{
|
|
3
|
+
variant?: "light" | "dark" | undefined;
|
|
4
|
+
className?: string | undefined;
|
|
5
|
+
sideOffset?: number | undefined;
|
|
6
|
+
} & Omit<import("@radix-ui/react-tooltip").TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
4
7
|
children?: React.ReactNode;
|
|
5
8
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { TOOLTIP_VARIANT_TYPES } from "./tooltip_constants";
|
|
2
2
|
import { Any } from 'ts-toolbelt';
|
|
3
|
+
import { Content as TooltipPrimitiveContent } from '@radix-ui/react-tooltip';
|
|
4
|
+
import * as React from 'react';
|
|
3
5
|
export declare type TTooltipVariant = Any.Keys<typeof TOOLTIP_VARIANT_TYPES>;
|
|
4
6
|
export declare type TTooltipContentProps = {
|
|
5
7
|
variant?: TTooltipVariant;
|
|
6
8
|
className?: string;
|
|
7
9
|
sideOffset?: number;
|
|
8
|
-
}
|
|
10
|
+
} & React.ComponentPropsWithoutRef<typeof TooltipPrimitiveContent>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip_types.js","sourceRoot":"","sources":["../../../../../../../src/components/tooltip/tooltip_types.ts"],"names":[],"mappings":"AAAA,OAAsC,6CAA6C,CAAC;AACpF,OAAoB,aAAa,CAAC"}
|
|
1
|
+
{"version":3,"file":"tooltip_types.js","sourceRoot":"","sources":["../../../../../../../src/components/tooltip/tooltip_types.ts"],"names":[],"mappings":"AAAA,OAAsC,6CAA6C,CAAC;AACpF,OAAoB,aAAa,CAAC;AAClC,OAAmD,yBAAyB,CAAC;AAC7E,OAAuB,OAAO,CAAC"}
|