musae 0.5.6 → 0.5.8
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/dist/components/avatar/avatar.cjs +17 -17
- package/dist/components/avatar/avatar.mjs +17 -17
- package/dist/components/badge/badge.cjs +17 -17
- package/dist/components/badge/badge.mjs +16 -16
- package/dist/components/badge/context.cjs +10 -0
- package/dist/components/badge/context.d.ts +8 -0
- package/dist/components/badge/context.mjs +10 -0
- package/dist/components/bench/bench.cjs +15 -15
- package/dist/components/bench/bench.mjs +15 -15
- package/dist/components/breadcrumb/breadcrumb.cjs +16 -12
- package/dist/components/breadcrumb/breadcrumb.mjs +15 -11
- package/dist/components/breadcrumb/context.cjs +17 -0
- package/dist/components/breadcrumb/context.d.ts +16 -0
- package/dist/components/breadcrumb/context.mjs +16 -0
- package/dist/components/breadcrumb/item.cjs +16 -16
- package/dist/components/breadcrumb/item.mjs +16 -16
- package/dist/components/button/button.cjs +33 -31
- package/dist/components/button/button.d.ts +4 -0
- package/dist/components/button/button.mjs +33 -31
- package/dist/components/calendar/calendar.cjs +5 -5
- package/dist/components/calendar/calendar.mjs +5 -5
- package/dist/components/calendar/contribution.cjs +16 -17
- package/dist/components/calendar/contribution.mjs +16 -17
- package/dist/components/calendar/hooks.cjs +20 -20
- package/dist/components/calendar/hooks.mjs +20 -20
- package/dist/components/cascader/cascader.cjs +3 -3
- package/dist/components/cascader/cascader.mjs +3 -3
- package/dist/components/cascader/hooks.cjs +4 -4
- package/dist/components/cascader/hooks.mjs +4 -4
- package/dist/components/chat/chat.cjs +109 -0
- package/dist/components/chat/chat.d.ts +4 -0
- package/dist/components/chat/chat.mjs +107 -0
- package/dist/components/chat/context.cjs +20 -0
- package/dist/components/chat/context.d.ts +16 -0
- package/dist/components/chat/context.mjs +19 -0
- package/dist/components/chat/index.d.ts +2 -0
- package/dist/components/chat/item.cjs +148 -0
- package/dist/components/chat/item.d.ts +4 -0
- package/dist/components/chat/item.mjs +146 -0
- package/dist/components/checkbox/checkbox.cjs +1 -1
- package/dist/components/checkbox/checkbox.mjs +1 -1
- package/dist/components/checkbox/styles.cjs +25 -25
- package/dist/components/checkbox/styles.mjs +25 -25
- package/dist/components/clock/clock.cjs +11 -7
- package/dist/components/clock/clock.mjs +11 -7
- package/dist/components/clock/column.cjs +11 -11
- package/dist/components/clock/column.mjs +12 -12
- package/dist/components/clock/context.cjs +16 -0
- package/dist/components/clock/context.d.ts +14 -0
- package/dist/components/clock/context.mjs +15 -0
- package/dist/components/collapse/collapse.cjs +5 -5
- package/dist/components/collapse/collapse.mjs +5 -5
- package/dist/components/collapse/item.cjs +11 -11
- package/dist/components/collapse/item.mjs +11 -11
- package/dist/components/countdown/context.cjs +9 -0
- package/dist/components/countdown/context.d.ts +7 -0
- package/dist/components/countdown/context.mjs +9 -0
- package/dist/components/countdown/countdown.cjs +15 -16
- package/dist/components/countdown/countdown.mjs +14 -15
- package/dist/components/date-picker/context.cjs +10 -0
- package/dist/components/date-picker/context.d.ts +8 -0
- package/dist/components/date-picker/context.mjs +10 -0
- package/dist/components/date-picker/date-picker.cjs +8 -8
- package/dist/components/date-picker/date-picker.mjs +7 -7
- package/dist/components/date-picker/hooks.cjs +1 -1
- package/dist/components/date-picker/hooks.mjs +1 -1
- package/dist/components/date-range-picker/context.cjs +11 -0
- package/dist/components/date-range-picker/context.d.ts +9 -0
- package/dist/components/date-range-picker/context.mjs +11 -0
- package/dist/components/date-range-picker/date-range-picker.cjs +9 -9
- package/dist/components/date-range-picker/date-range-picker.mjs +9 -9
- package/dist/components/dialog/popup.cjs +15 -15
- package/dist/components/dialog/popup.mjs +15 -15
- package/dist/components/divider/divider.cjs +40 -40
- package/dist/components/divider/divider.mjs +40 -40
- package/dist/components/drawer/popup.cjs +29 -29
- package/dist/components/drawer/popup.mjs +29 -29
- package/dist/components/empty/empty.cjs +3 -3
- package/dist/components/empty/empty.mjs +3 -3
- package/dist/components/fab/fab.cjs +34 -24
- package/dist/components/fab/fab.d.ts +6 -2
- package/dist/components/fab/fab.mjs +36 -26
- package/dist/components/form/field/error.cjs +4 -4
- package/dist/components/form/field/error.mjs +4 -4
- package/dist/components/form/field/layout.cjs +7 -7
- package/dist/components/form/field/layout.mjs +7 -7
- package/dist/components/form/field/support.cjs +4 -4
- package/dist/components/form/field/support.mjs +4 -4
- package/dist/components/grid/col.cjs +3 -3
- package/dist/components/grid/col.mjs +3 -3
- package/dist/components/grid/row.cjs +9 -9
- package/dist/components/grid/row.mjs +9 -9
- package/dist/components/highlight/highlight.cjs +3 -3
- package/dist/components/highlight/highlight.mjs +3 -3
- package/dist/components/i18n-button/context.cjs +9 -0
- package/dist/components/i18n-button/context.d.ts +7 -0
- package/dist/components/i18n-button/context.mjs +9 -0
- package/dist/components/i18n-button/i18n-button.cjs +5 -5
- package/dist/components/i18n-button/i18n-button.mjs +4 -4
- package/dist/components/icon/icon.cjs +3 -3
- package/dist/components/icon/icon.mjs +3 -3
- package/dist/components/icon/icons/action/index.cjs +2 -0
- package/dist/components/icon/icons/action/index.d.ts +2 -1
- package/dist/components/icon/icons/action/index.mjs +1 -0
- package/dist/components/icon/icons/action/rocket-launch.cjs +20 -0
- package/dist/components/icon/icons/action/rocket-launch.d.ts +3 -0
- package/dist/components/icon/icons/action/rocket-launch.mjs +18 -0
- package/dist/components/icon/icons/home/index.d.ts +2 -1
- package/dist/components/icon/icons/home/smart-toy.cjs +20 -0
- package/dist/components/icon/icons/home/smart-toy.d.ts +3 -0
- package/dist/components/icon/icons/home/smart-toy.mjs +18 -0
- package/dist/components/icon/icons/index.cjs +4 -0
- package/dist/components/icon/icons/index.mjs +2 -0
- package/dist/components/icon-button/icon-button.cjs +7 -5
- package/dist/components/icon-button/icon-button.mjs +7 -5
- package/dist/components/image/image.cjs +5 -5
- package/dist/components/image/image.mjs +5 -5
- package/dist/components/image/preview/group.cjs +1 -1
- package/dist/components/image/preview/group.mjs +1 -1
- package/dist/components/image/preview/operations.cjs +14 -14
- package/dist/components/image/preview/operations.mjs +14 -14
- package/dist/components/image/preview/preview.cjs +3 -3
- package/dist/components/image/preview/preview.mjs +3 -3
- package/dist/components/input/input.cjs +27 -27
- package/dist/components/input/input.mjs +27 -27
- package/dist/components/layout/header.cjs +7 -7
- package/dist/components/layout/header.mjs +7 -7
- package/dist/components/layout/layout.cjs +6 -6
- package/dist/components/layout/layout.mjs +6 -6
- package/dist/components/loading/loading.cjs +14 -14
- package/dist/components/loading/loading.mjs +14 -14
- package/dist/components/menu/context.cjs +16 -4
- package/dist/components/menu/context.d.ts +15 -2
- package/dist/components/menu/context.mjs +15 -2
- package/dist/components/menu/group.cjs +13 -16
- package/dist/components/menu/group.mjs +12 -15
- package/dist/components/menu/hooks.cjs +11 -9
- package/dist/components/menu/hooks.d.ts +23 -4
- package/dist/components/menu/hooks.mjs +11 -9
- package/dist/components/menu/item.cjs +44 -46
- package/dist/components/menu/item.mjs +43 -45
- package/dist/components/menu/menu.cjs +7 -8
- package/dist/components/menu/menu.mjs +6 -7
- package/dist/components/notification/context.cjs +12 -0
- package/dist/components/notification/context.d.ts +10 -0
- package/dist/components/notification/context.mjs +12 -0
- package/dist/components/notification/holder.cjs +4 -4
- package/dist/components/notification/holder.mjs +4 -4
- package/dist/components/notification/notification.cjs +25 -25
- package/dist/components/notification/notification.mjs +25 -25
- package/dist/components/number-input/number-input.cjs +1 -1
- package/dist/components/number-input/number-input.mjs +1 -1
- package/dist/components/otp-input/otp-input.cjs +2 -2
- package/dist/components/otp-input/otp-input.mjs +2 -2
- package/dist/components/pagination/pagination.cjs +1 -1
- package/dist/components/pagination/pagination.mjs +1 -1
- package/dist/components/password-input/password-input.cjs +5 -5
- package/dist/components/password-input/password-input.mjs +5 -5
- package/dist/components/picker/picker.cjs +3 -3
- package/dist/components/picker/picker.mjs +3 -3
- package/dist/components/popconfirm/popconfirm.cjs +5 -5
- package/dist/components/popconfirm/popconfirm.mjs +5 -5
- package/dist/components/popover/context.cjs +11 -0
- package/dist/components/popover/context.d.ts +9 -0
- package/dist/components/popover/context.mjs +11 -0
- package/dist/components/popover/popover.cjs +17 -19
- package/dist/components/popover/popover.mjs +17 -19
- package/dist/components/popper/dropdown.cjs +12 -12
- package/dist/components/popper/dropdown.mjs +12 -12
- package/dist/components/popper/hooks.cjs +2 -2
- package/dist/components/popper/hooks.mjs +2 -2
- package/dist/components/portal/portal.cjs +2 -2
- package/dist/components/portal/portal.mjs +2 -2
- package/dist/components/progress/circular.cjs +12 -12
- package/dist/components/progress/circular.mjs +12 -12
- package/dist/components/progress/linear.cjs +12 -12
- package/dist/components/progress/linear.mjs +12 -12
- package/dist/components/quote/quote.cjs +1 -1
- package/dist/components/quote/quote.mjs +1 -1
- package/dist/components/quote/styles.cjs +6 -6
- package/dist/components/quote/styles.d.ts +2 -2
- package/dist/components/quote/styles.mjs +6 -6
- package/dist/components/radio/radio.cjs +22 -22
- package/dist/components/radio/radio.mjs +22 -22
- package/dist/components/rate/hooks.cjs +2 -2
- package/dist/components/rate/hooks.mjs +2 -2
- package/dist/components/rate/rate.cjs +3 -3
- package/dist/components/rate/rate.mjs +3 -3
- package/dist/components/rate/star.cjs +9 -9
- package/dist/components/rate/star.mjs +9 -9
- package/dist/components/rich-text-editor/dropdown.cjs +3 -3
- package/dist/components/rich-text-editor/dropdown.mjs +3 -3
- package/dist/components/rich-text-editor/index.cjs +1 -1
- package/dist/components/rich-text-editor/index.mjs +1 -1
- package/dist/components/rich-text-editor/plugins/floating-link-editor/index.cjs +1 -1
- package/dist/components/rich-text-editor/plugins/floating-link-editor/index.mjs +1 -1
- package/dist/components/rich-text-editor/plugins/toolbar/index.cjs +7 -7
- package/dist/components/rich-text-editor/plugins/toolbar/index.mjs +7 -7
- package/dist/components/rich-text-editor/rich-text-editor.cjs +130 -43
- package/dist/components/rich-text-editor/rich-text-editor.mjs +130 -43
- package/dist/components/ripple/ripple.cjs +10 -10
- package/dist/components/ripple/ripple.mjs +10 -10
- package/dist/components/select/select.cjs +2 -2
- package/dist/components/select/select.mjs +2 -2
- package/dist/components/select/selector.cjs +3 -3
- package/dist/components/select/selector.mjs +3 -3
- package/dist/components/skeleton/skeleton.cjs +5 -5
- package/dist/components/skeleton/skeleton.mjs +5 -5
- package/dist/components/space/space.cjs +5 -5
- package/dist/components/space/space.mjs +5 -5
- package/dist/components/steps/item.cjs +34 -34
- package/dist/components/steps/item.mjs +34 -34
- package/dist/components/steps/steps.cjs +2 -2
- package/dist/components/steps/steps.mjs +2 -2
- package/dist/components/switch/switch.cjs +49 -49
- package/dist/components/switch/switch.mjs +49 -49
- package/dist/components/table/body.cjs +9 -9
- package/dist/components/table/body.mjs +9 -9
- package/dist/components/table/header/cell.cjs +7 -7
- package/dist/components/table/header/cell.mjs +7 -7
- package/dist/components/table/header/header.cjs +14 -14
- package/dist/components/table/header/header.mjs +14 -14
- package/dist/components/tabs/context.cjs +20 -4
- package/dist/components/tabs/context.d.ts +17 -2
- package/dist/components/tabs/context.mjs +19 -2
- package/dist/components/tabs/hooks.cjs +1 -1
- package/dist/components/tabs/hooks.d.ts +3 -1
- package/dist/components/tabs/hooks.mjs +1 -1
- package/dist/components/tabs/navigation.cjs +20 -23
- package/dist/components/tabs/navigation.mjs +20 -23
- package/dist/components/tabs/panels.cjs +7 -9
- package/dist/components/tabs/panels.mjs +6 -8
- package/dist/components/tabs/tab.cjs +10 -11
- package/dist/components/tabs/tab.mjs +11 -12
- package/dist/components/tabs/tabs.cjs +9 -9
- package/dist/components/tabs/tabs.mjs +8 -8
- package/dist/components/tag/tag.cjs +17 -17
- package/dist/components/tag/tag.mjs +17 -17
- package/dist/components/textarea/context.cjs +10 -0
- package/dist/components/textarea/context.d.ts +8 -0
- package/dist/components/textarea/context.mjs +10 -0
- package/dist/components/textarea/textarea.cjs +32 -15
- package/dist/components/textarea/textarea.d.ts +6 -2
- package/dist/components/textarea/textarea.mjs +32 -15
- package/dist/components/theme/hooks.cjs +2 -2
- package/dist/components/theme/hooks.mjs +2 -2
- package/dist/components/theme/theme.cjs +15 -15
- package/dist/components/theme/theme.mjs +15 -15
- package/dist/components/theme/tokens.stylex.cjs +44 -43
- package/dist/components/theme/tokens.stylex.d.ts +1 -0
- package/dist/components/theme/tokens.stylex.mjs +44 -43
- package/dist/components/time-picker/context.cjs +18 -0
- package/dist/components/time-picker/context.d.ts +18 -0
- package/dist/components/time-picker/context.mjs +17 -0
- package/dist/components/time-picker/panel.cjs +13 -13
- package/dist/components/time-picker/panel.mjs +14 -14
- package/dist/components/time-picker/time-picker.cjs +15 -11
- package/dist/components/time-picker/time-picker.mjs +13 -9
- package/dist/components/timeline/item.cjs +20 -20
- package/dist/components/timeline/item.mjs +20 -20
- package/dist/components/timeline/timeline.cjs +1 -1
- package/dist/components/timeline/timeline.mjs +1 -1
- package/dist/components/tour/spotlight.cjs +1 -1
- package/dist/components/tour/spotlight.mjs +1 -1
- package/dist/components/tour/tour.cjs +13 -13
- package/dist/components/tour/tour.mjs +13 -13
- package/dist/components/transfer/item.cjs +1 -1
- package/dist/components/transfer/item.mjs +1 -1
- package/dist/components/transfer/list.cjs +13 -13
- package/dist/components/transfer/list.mjs +13 -13
- package/dist/components/transfer/transfer.cjs +2 -2
- package/dist/components/transfer/transfer.mjs +2 -2
- package/dist/components/tree/list.cjs +3 -3
- package/dist/components/tree/list.mjs +3 -3
- package/dist/components/tree/node.cjs +13 -13
- package/dist/components/tree/node.mjs +13 -13
- package/dist/components/upload/upload.cjs +1 -1
- package/dist/components/upload/upload.mjs +1 -1
- package/dist/components/upload/uploaded-item.cjs +10 -10
- package/dist/components/upload/uploaded-item.mjs +10 -10
- package/dist/components/upload/uploaded-list.cjs +3 -3
- package/dist/components/upload/uploaded-list.mjs +3 -3
- package/dist/components/visually-hidden/visually-hidden.cjs +1 -1
- package/dist/components/visually-hidden/visually-hidden.mjs +1 -1
- package/dist/components/waterfall/context.cjs +10 -0
- package/dist/components/waterfall/context.d.ts +8 -0
- package/dist/components/waterfall/context.mjs +10 -0
- package/dist/components/waterfall/sequential.cjs +3 -3
- package/dist/components/waterfall/sequential.mjs +3 -3
- package/dist/components/waterfall/waterfall.cjs +19 -19
- package/dist/components/waterfall/waterfall.mjs +18 -18
- package/dist/components/watermark/hooks.cjs +3 -3
- package/dist/components/watermark/hooks.mjs +3 -3
- package/dist/components/watermark/watermark.cjs +1 -1
- package/dist/components/watermark/watermark.mjs +1 -1
- package/dist/hooks/use-class-names.d.ts +0 -68
- package/dist/hooks/use-closable.cjs +5 -5
- package/dist/hooks/use-closable.mjs +5 -5
- package/dist/hooks/use-gutters.cjs +1 -1
- package/dist/hooks/use-gutters.mjs +1 -1
- package/dist/index.cjs +2 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +1 -0
- package/dist/node_modules/.pnpm/@stylexjs_stylex@0.9.3/node_modules/@stylexjs/stylex/lib/es/stylex.cjs +289 -0
- package/dist/node_modules/.pnpm/@stylexjs_stylex@0.9.3/node_modules/@stylexjs/stylex/lib/es/stylex.mjs +278 -0
- package/dist/styles.css +721 -639
- package/dist/types/chat.d.ts +58 -0
- package/dist/types/fab.d.ts +8 -2
- package/dist/types/textarea.d.ts +9 -2
- package/dist/utils/class-name.cjs +1 -107
- package/dist/utils/class-name.d.ts +0 -215
- package/dist/utils/class-name.mjs +2 -108
- package/dist/utils/styles.d.ts +1 -1
- package/package.json +22 -22
- package/dist/node_modules/.pnpm/@stylexjs_stylex@0.8.0/node_modules/@stylexjs/stylex/lib/es/stylex.cjs +0 -306
- package/dist/node_modules/.pnpm/@stylexjs_stylex@0.8.0/node_modules/@stylexjs/stylex/lib/es/stylex.mjs +0 -295
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
3
3
|
var _objectSpread = require('@babel/runtime/helpers/objectSpread2');
|
|
4
4
|
var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
|
|
5
5
|
var React = require('react');
|
|
6
|
-
var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.
|
|
6
|
+
var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.9.3/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
|
|
7
7
|
var context = require('./context.cjs');
|
|
8
8
|
var hooks = require('../theme/hooks.cjs');
|
|
9
9
|
var useClassNames = require('../../hooks/use-class-names.cjs');
|
|
@@ -17,7 +17,7 @@ var _excluded = ["src", "alt", "shape", "size", "className", "style", "crossOrig
|
|
|
17
17
|
var styles = {
|
|
18
18
|
avatar: function avatar(props) {
|
|
19
19
|
return [{
|
|
20
|
-
borderWidth: "musaex-
|
|
20
|
+
borderWidth: "musaex-1iyq3db",
|
|
21
21
|
borderInlineWidth: null,
|
|
22
22
|
borderInlineStartWidth: null,
|
|
23
23
|
borderLeftWidth: null,
|
|
@@ -46,15 +46,15 @@ var styles = {
|
|
|
46
46
|
borderBottomColor: null,
|
|
47
47
|
boxSizing: "musaex-9f619",
|
|
48
48
|
display: "musaex-3nfvp2",
|
|
49
|
-
backgroundColor: "musaex-
|
|
50
|
-
color: "musaex-
|
|
49
|
+
backgroundColor: props.backgroundColor == null ? null : "musaex-r5ldyu",
|
|
50
|
+
color: props.color == null ? null : "musaex-fx01vb",
|
|
51
51
|
alignItems: "musaex-6s0dn4",
|
|
52
52
|
justifyContent: "musaex-l56j7k",
|
|
53
53
|
userSelect: "musaex-87ps6o",
|
|
54
54
|
$$css: true
|
|
55
55
|
}, {
|
|
56
|
-
"--backgroundColor": props.backgroundColor != null ? props.backgroundColor :
|
|
57
|
-
"--color": props.color != null ? props.color :
|
|
56
|
+
"--backgroundColor": props.backgroundColor != null ? props.backgroundColor : undefined,
|
|
57
|
+
"--color": props.color != null ? props.color : undefined
|
|
58
58
|
}];
|
|
59
59
|
},
|
|
60
60
|
image: {
|
|
@@ -73,10 +73,10 @@ var styles = {
|
|
|
73
73
|
},
|
|
74
74
|
overlapping: function overlapping(props) {
|
|
75
75
|
return [{
|
|
76
|
-
":not(:first-child)_marginInlineStart": "musaex-
|
|
76
|
+
":not(:first-child)_marginInlineStart": "musaex-k72gy",
|
|
77
77
|
":not(:first-child)_marginLeft": null,
|
|
78
78
|
":not(:first-child)_marginRight": null,
|
|
79
|
-
borderColor: "musaex-
|
|
79
|
+
borderColor: props.outlineColor == null ? null : "musaex-1u3gezn",
|
|
80
80
|
borderInlineColor: null,
|
|
81
81
|
borderInlineStartColor: null,
|
|
82
82
|
borderLeftColor: null,
|
|
@@ -87,11 +87,11 @@ var styles = {
|
|
|
87
87
|
borderBottomColor: null,
|
|
88
88
|
$$css: true
|
|
89
89
|
}, {
|
|
90
|
-
"--borderColor": props.outlineColor != null ? props.outlineColor :
|
|
90
|
+
"--borderColor": props.outlineColor != null ? props.outlineColor : undefined
|
|
91
91
|
}];
|
|
92
92
|
},
|
|
93
93
|
circular: {
|
|
94
|
-
borderRadius: "musaex-
|
|
94
|
+
borderRadius: "musaex-shxsqp",
|
|
95
95
|
borderStartStartRadius: null,
|
|
96
96
|
borderStartEndRadius: null,
|
|
97
97
|
borderEndStartRadius: null,
|
|
@@ -103,7 +103,7 @@ var styles = {
|
|
|
103
103
|
$$css: true
|
|
104
104
|
},
|
|
105
105
|
squared: {
|
|
106
|
-
borderRadius: "musaex-
|
|
106
|
+
borderRadius: "musaex-10lp2fo",
|
|
107
107
|
borderStartStartRadius: null,
|
|
108
108
|
borderStartEndRadius: null,
|
|
109
109
|
borderEndStartRadius: null,
|
|
@@ -115,18 +115,18 @@ var styles = {
|
|
|
115
115
|
$$css: true
|
|
116
116
|
},
|
|
117
117
|
small: {
|
|
118
|
-
width: "musaex-
|
|
119
|
-
height: "musaex-
|
|
118
|
+
width: "musaex-t4hhhd",
|
|
119
|
+
height: "musaex-pvxov6",
|
|
120
120
|
$$css: true
|
|
121
121
|
},
|
|
122
122
|
medium: {
|
|
123
|
-
width: "musaex-
|
|
124
|
-
height: "musaex-
|
|
123
|
+
width: "musaex-1po6ib",
|
|
124
|
+
height: "musaex-1si1pn3",
|
|
125
125
|
$$css: true
|
|
126
126
|
},
|
|
127
127
|
large: {
|
|
128
|
-
width: "musaex-
|
|
129
|
-
height: "musaex-
|
|
128
|
+
width: "musaex-19dbm5w",
|
|
129
|
+
height: "musaex-12ez60q",
|
|
130
130
|
$$css: true
|
|
131
131
|
}
|
|
132
132
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _objectSpread from '@babel/runtime/helpers/objectSpread2';
|
|
2
2
|
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
3
3
|
import React, { forwardRef, useContext } from 'react';
|
|
4
|
-
import _stylex from '../../node_modules/.pnpm/@stylexjs_stylex@0.
|
|
4
|
+
import _stylex from '../../node_modules/.pnpm/@stylexjs_stylex@0.9.3/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
|
|
5
5
|
import { Context } from './context.mjs';
|
|
6
6
|
import { useTheme } from '../theme/hooks.mjs';
|
|
7
7
|
import { useClassNames } from '../../hooks/use-class-names.mjs';
|
|
@@ -15,7 +15,7 @@ var _excluded = ["src", "alt", "shape", "size", "className", "style", "crossOrig
|
|
|
15
15
|
var styles = {
|
|
16
16
|
avatar: function avatar(props) {
|
|
17
17
|
return [{
|
|
18
|
-
borderWidth: "musaex-
|
|
18
|
+
borderWidth: "musaex-1iyq3db",
|
|
19
19
|
borderInlineWidth: null,
|
|
20
20
|
borderInlineStartWidth: null,
|
|
21
21
|
borderLeftWidth: null,
|
|
@@ -44,15 +44,15 @@ var styles = {
|
|
|
44
44
|
borderBottomColor: null,
|
|
45
45
|
boxSizing: "musaex-9f619",
|
|
46
46
|
display: "musaex-3nfvp2",
|
|
47
|
-
backgroundColor: "musaex-
|
|
48
|
-
color: "musaex-
|
|
47
|
+
backgroundColor: props.backgroundColor == null ? null : "musaex-r5ldyu",
|
|
48
|
+
color: props.color == null ? null : "musaex-fx01vb",
|
|
49
49
|
alignItems: "musaex-6s0dn4",
|
|
50
50
|
justifyContent: "musaex-l56j7k",
|
|
51
51
|
userSelect: "musaex-87ps6o",
|
|
52
52
|
$$css: true
|
|
53
53
|
}, {
|
|
54
|
-
"--backgroundColor": props.backgroundColor != null ? props.backgroundColor :
|
|
55
|
-
"--color": props.color != null ? props.color :
|
|
54
|
+
"--backgroundColor": props.backgroundColor != null ? props.backgroundColor : undefined,
|
|
55
|
+
"--color": props.color != null ? props.color : undefined
|
|
56
56
|
}];
|
|
57
57
|
},
|
|
58
58
|
image: {
|
|
@@ -71,10 +71,10 @@ var styles = {
|
|
|
71
71
|
},
|
|
72
72
|
overlapping: function overlapping(props) {
|
|
73
73
|
return [{
|
|
74
|
-
":not(:first-child)_marginInlineStart": "musaex-
|
|
74
|
+
":not(:first-child)_marginInlineStart": "musaex-k72gy",
|
|
75
75
|
":not(:first-child)_marginLeft": null,
|
|
76
76
|
":not(:first-child)_marginRight": null,
|
|
77
|
-
borderColor: "musaex-
|
|
77
|
+
borderColor: props.outlineColor == null ? null : "musaex-1u3gezn",
|
|
78
78
|
borderInlineColor: null,
|
|
79
79
|
borderInlineStartColor: null,
|
|
80
80
|
borderLeftColor: null,
|
|
@@ -85,11 +85,11 @@ var styles = {
|
|
|
85
85
|
borderBottomColor: null,
|
|
86
86
|
$$css: true
|
|
87
87
|
}, {
|
|
88
|
-
"--borderColor": props.outlineColor != null ? props.outlineColor :
|
|
88
|
+
"--borderColor": props.outlineColor != null ? props.outlineColor : undefined
|
|
89
89
|
}];
|
|
90
90
|
},
|
|
91
91
|
circular: {
|
|
92
|
-
borderRadius: "musaex-
|
|
92
|
+
borderRadius: "musaex-shxsqp",
|
|
93
93
|
borderStartStartRadius: null,
|
|
94
94
|
borderStartEndRadius: null,
|
|
95
95
|
borderEndStartRadius: null,
|
|
@@ -101,7 +101,7 @@ var styles = {
|
|
|
101
101
|
$$css: true
|
|
102
102
|
},
|
|
103
103
|
squared: {
|
|
104
|
-
borderRadius: "musaex-
|
|
104
|
+
borderRadius: "musaex-10lp2fo",
|
|
105
105
|
borderStartStartRadius: null,
|
|
106
106
|
borderStartEndRadius: null,
|
|
107
107
|
borderEndStartRadius: null,
|
|
@@ -113,18 +113,18 @@ var styles = {
|
|
|
113
113
|
$$css: true
|
|
114
114
|
},
|
|
115
115
|
small: {
|
|
116
|
-
width: "musaex-
|
|
117
|
-
height: "musaex-
|
|
116
|
+
width: "musaex-t4hhhd",
|
|
117
|
+
height: "musaex-pvxov6",
|
|
118
118
|
$$css: true
|
|
119
119
|
},
|
|
120
120
|
medium: {
|
|
121
|
-
width: "musaex-
|
|
122
|
-
height: "musaex-
|
|
121
|
+
width: "musaex-1po6ib",
|
|
122
|
+
height: "musaex-1si1pn3",
|
|
123
123
|
$$css: true
|
|
124
124
|
},
|
|
125
125
|
large: {
|
|
126
|
-
width: "musaex-
|
|
127
|
-
height: "musaex-
|
|
126
|
+
width: "musaex-19dbm5w",
|
|
127
|
+
height: "musaex-12ez60q",
|
|
128
128
|
$$css: true
|
|
129
129
|
}
|
|
130
130
|
};
|
|
@@ -2,14 +2,14 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
2
2
|
|
|
3
3
|
var _objectSpread = require('@babel/runtime/helpers/objectSpread2');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.8.0/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
|
|
5
|
+
var useClassNames_component = require('../../hooks/use-class-names.component.cjs');
|
|
6
|
+
var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.9.3/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
|
|
8
7
|
var theme = require('../theme/theme.cjs');
|
|
9
8
|
var tokens_stylex = require('../theme/tokens.stylex.cjs');
|
|
10
9
|
var hooks = require('../theme/hooks.cjs');
|
|
11
10
|
var relax = require('@aiszlab/relax');
|
|
12
11
|
var className = require('@aiszlab/relax/class-name');
|
|
12
|
+
var context = require('./context.cjs');
|
|
13
13
|
|
|
14
14
|
var styles = {
|
|
15
15
|
badge: {
|
|
@@ -23,7 +23,7 @@ var styles = {
|
|
|
23
23
|
"default": function _default(props) {
|
|
24
24
|
return [{
|
|
25
25
|
position: "musaex-10l6tqk",
|
|
26
|
-
borderRadius: "musaex-
|
|
26
|
+
borderRadius: "musaex-shxsqp",
|
|
27
27
|
borderStartStartRadius: null,
|
|
28
28
|
borderStartEndRadius: null,
|
|
29
29
|
borderEndStartRadius: null,
|
|
@@ -32,22 +32,22 @@ var styles = {
|
|
|
32
32
|
borderTopRightRadius: null,
|
|
33
33
|
borderBottomLeftRadius: null,
|
|
34
34
|
borderBottomRightRadius: null,
|
|
35
|
-
minWidth: "musaex-
|
|
35
|
+
minWidth: "musaex-17fkqza",
|
|
36
36
|
textAlign: "musaex-2b8uid",
|
|
37
|
-
boxShadow: "musaex-
|
|
38
|
-
backgroundColor: "musaex-
|
|
39
|
-
color: "musaex-
|
|
37
|
+
boxShadow: "0 0 0 ".concat(tokens_stylex.sizes.smallest, " ").concat(props.color) == null ? null : "musaex-10ya7sz",
|
|
38
|
+
backgroundColor: props.backgroundColor == null ? null : "musaex-r5ldyu",
|
|
39
|
+
color: props.color == null ? null : "musaex-fx01vb",
|
|
40
40
|
$$css: true
|
|
41
41
|
}, {
|
|
42
|
-
"--boxShadow": "0 0 0 ".concat(tokens_stylex.sizes.smallest, " ").concat(props.color) != null ? "0 0 0 ".concat(tokens_stylex.sizes.smallest, " ").concat(props.color) :
|
|
43
|
-
"--backgroundColor": props.backgroundColor != null ? props.backgroundColor :
|
|
44
|
-
"--color": props.color != null ? props.color :
|
|
42
|
+
"--boxShadow": "0 0 0 ".concat(tokens_stylex.sizes.smallest, " ").concat(props.color) != null ? "0 0 0 ".concat(tokens_stylex.sizes.smallest, " ").concat(props.color) : undefined,
|
|
43
|
+
"--backgroundColor": props.backgroundColor != null ? props.backgroundColor : undefined,
|
|
44
|
+
"--color": props.color != null ? props.color : undefined
|
|
45
45
|
}];
|
|
46
46
|
},
|
|
47
47
|
dot: {
|
|
48
48
|
minWidth: null,
|
|
49
|
-
width: "musaex-
|
|
50
|
-
height: "musaex-
|
|
49
|
+
width: "musaex-165vr4g",
|
|
50
|
+
height: "musaex-rywi9w",
|
|
51
51
|
$$css: true
|
|
52
52
|
},
|
|
53
53
|
invisible: {
|
|
@@ -89,7 +89,7 @@ var styles = {
|
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
91
|
var Badge = function Badge(_ref) {
|
|
92
|
-
var className$
|
|
92
|
+
var className$1 = _ref.className,
|
|
93
93
|
style = _ref.style,
|
|
94
94
|
children = _ref.children,
|
|
95
95
|
content = _ref.content,
|
|
@@ -97,7 +97,7 @@ var Badge = function Badge(_ref) {
|
|
|
97
97
|
invisible = _ref$invisible === void 0 ? false : _ref$invisible,
|
|
98
98
|
_ref$placement = _ref.placement,
|
|
99
99
|
placement = _ref$placement === void 0 ? "top-right" : _ref$placement;
|
|
100
|
-
var classNames =
|
|
100
|
+
var classNames = useClassNames_component.useClassNames(context.CLASS_NAMES);
|
|
101
101
|
var theme$1 = hooks.useTheme();
|
|
102
102
|
var isDot = relax.isVoid(content);
|
|
103
103
|
var styled = {
|
|
@@ -108,10 +108,10 @@ var Badge = function Badge(_ref) {
|
|
|
108
108
|
}), isDot && styles.tail.dot, theme.typography.label.small, invisible && styles.tail.invisible, styles.tail[placement])
|
|
109
109
|
};
|
|
110
110
|
return /*#__PURE__*/React.createElement("span", {
|
|
111
|
-
className: className.stringify(classNames
|
|
111
|
+
className: className.stringify(classNames.badge, className$1, styled.badge.className),
|
|
112
112
|
style: _objectSpread(_objectSpread({}, styled.badge.style), style)
|
|
113
113
|
}, children, /*#__PURE__*/React.createElement("span", {
|
|
114
|
-
className: className.stringify(classNames
|
|
114
|
+
className: className.stringify(classNames.tail, styled.tail.className),
|
|
115
115
|
style: styled.tail.style
|
|
116
116
|
}, content));
|
|
117
117
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import _objectSpread from '@babel/runtime/helpers/objectSpread2';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { useClassNames } from '../../hooks/use-class-names.mjs';
|
|
4
|
-
import
|
|
5
|
-
import _stylex from '../../node_modules/.pnpm/@stylexjs_stylex@0.8.0/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
|
|
3
|
+
import { useClassNames } from '../../hooks/use-class-names.component.mjs';
|
|
4
|
+
import _stylex from '../../node_modules/.pnpm/@stylexjs_stylex@0.9.3/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
|
|
6
5
|
import { typography } from '../theme/theme.mjs';
|
|
7
6
|
import { sizes } from '../theme/tokens.stylex.mjs';
|
|
8
7
|
import { useTheme } from '../theme/hooks.mjs';
|
|
9
8
|
import { isVoid } from '@aiszlab/relax';
|
|
10
9
|
import { stringify } from '@aiszlab/relax/class-name';
|
|
10
|
+
import { CLASS_NAMES } from './context.mjs';
|
|
11
11
|
|
|
12
12
|
var styles = {
|
|
13
13
|
badge: {
|
|
@@ -21,7 +21,7 @@ var styles = {
|
|
|
21
21
|
"default": function _default(props) {
|
|
22
22
|
return [{
|
|
23
23
|
position: "musaex-10l6tqk",
|
|
24
|
-
borderRadius: "musaex-
|
|
24
|
+
borderRadius: "musaex-shxsqp",
|
|
25
25
|
borderStartStartRadius: null,
|
|
26
26
|
borderStartEndRadius: null,
|
|
27
27
|
borderEndStartRadius: null,
|
|
@@ -30,22 +30,22 @@ var styles = {
|
|
|
30
30
|
borderTopRightRadius: null,
|
|
31
31
|
borderBottomLeftRadius: null,
|
|
32
32
|
borderBottomRightRadius: null,
|
|
33
|
-
minWidth: "musaex-
|
|
33
|
+
minWidth: "musaex-17fkqza",
|
|
34
34
|
textAlign: "musaex-2b8uid",
|
|
35
|
-
boxShadow: "musaex-
|
|
36
|
-
backgroundColor: "musaex-
|
|
37
|
-
color: "musaex-
|
|
35
|
+
boxShadow: "0 0 0 ".concat(sizes.smallest, " ").concat(props.color) == null ? null : "musaex-10ya7sz",
|
|
36
|
+
backgroundColor: props.backgroundColor == null ? null : "musaex-r5ldyu",
|
|
37
|
+
color: props.color == null ? null : "musaex-fx01vb",
|
|
38
38
|
$$css: true
|
|
39
39
|
}, {
|
|
40
|
-
"--boxShadow": "0 0 0 ".concat(sizes.smallest, " ").concat(props.color) != null ? "0 0 0 ".concat(sizes.smallest, " ").concat(props.color) :
|
|
41
|
-
"--backgroundColor": props.backgroundColor != null ? props.backgroundColor :
|
|
42
|
-
"--color": props.color != null ? props.color :
|
|
40
|
+
"--boxShadow": "0 0 0 ".concat(sizes.smallest, " ").concat(props.color) != null ? "0 0 0 ".concat(sizes.smallest, " ").concat(props.color) : undefined,
|
|
41
|
+
"--backgroundColor": props.backgroundColor != null ? props.backgroundColor : undefined,
|
|
42
|
+
"--color": props.color != null ? props.color : undefined
|
|
43
43
|
}];
|
|
44
44
|
},
|
|
45
45
|
dot: {
|
|
46
46
|
minWidth: null,
|
|
47
|
-
width: "musaex-
|
|
48
|
-
height: "musaex-
|
|
47
|
+
width: "musaex-165vr4g",
|
|
48
|
+
height: "musaex-rywi9w",
|
|
49
49
|
$$css: true
|
|
50
50
|
},
|
|
51
51
|
invisible: {
|
|
@@ -95,7 +95,7 @@ var Badge = function Badge(_ref) {
|
|
|
95
95
|
invisible = _ref$invisible === void 0 ? false : _ref$invisible,
|
|
96
96
|
_ref$placement = _ref.placement,
|
|
97
97
|
placement = _ref$placement === void 0 ? "top-right" : _ref$placement;
|
|
98
|
-
var classNames = useClassNames(
|
|
98
|
+
var classNames = useClassNames(CLASS_NAMES);
|
|
99
99
|
var theme = useTheme();
|
|
100
100
|
var isDot = isVoid(content);
|
|
101
101
|
var styled = {
|
|
@@ -106,10 +106,10 @@ var Badge = function Badge(_ref) {
|
|
|
106
106
|
}), isDot && styles.tail.dot, typography.label.small, invisible && styles.tail.invisible, styles.tail[placement])
|
|
107
107
|
};
|
|
108
108
|
return /*#__PURE__*/React.createElement("span", {
|
|
109
|
-
className: stringify(classNames
|
|
109
|
+
className: stringify(classNames.badge, className, styled.badge.className),
|
|
110
110
|
style: _objectSpread(_objectSpread({}, styled.badge.style), style)
|
|
111
111
|
}, children, /*#__PURE__*/React.createElement("span", {
|
|
112
|
-
className: stringify(classNames
|
|
112
|
+
className: stringify(classNames.tail, styled.tail.className),
|
|
113
113
|
style: styled.tail.style
|
|
114
114
|
}, content));
|
|
115
115
|
};
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
3
3
|
var _objectSpread = require('@babel/runtime/helpers/objectSpread2');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var index = require('../layout/index.cjs');
|
|
6
|
-
var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.
|
|
6
|
+
var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.9.3/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
|
|
7
7
|
var tokens_stylex = require('../theme/tokens.stylex.cjs');
|
|
8
8
|
var divider = require('../divider/divider.cjs');
|
|
9
9
|
var hooks$1 = require('./hooks.cjs');
|
|
@@ -22,28 +22,28 @@ var styles = {
|
|
|
22
22
|
},
|
|
23
23
|
sider: function sider(props) {
|
|
24
24
|
return [{
|
|
25
|
-
borderRightWidth: "musaex-
|
|
25
|
+
borderRightWidth: "musaex-a640vs",
|
|
26
26
|
borderInlineStartWidth: null,
|
|
27
27
|
borderInlineEndWidth: null,
|
|
28
28
|
borderRightStyle: "musaex-32b0ac",
|
|
29
29
|
borderInlineStartStyle: null,
|
|
30
30
|
borderInlineEndStyle: null,
|
|
31
|
-
borderRightColor: "musaex-
|
|
31
|
+
borderRightColor: props.outlineColor == null ? null : "musaex-pm6wt3",
|
|
32
32
|
borderInlineStartColor: null,
|
|
33
33
|
borderInlineEndColor: null,
|
|
34
|
-
paddingInline: "musaex-
|
|
34
|
+
paddingInline: "musaex-81lxrv",
|
|
35
35
|
paddingStart: null,
|
|
36
36
|
paddingLeft: null,
|
|
37
37
|
paddingEnd: null,
|
|
38
38
|
paddingRight: null,
|
|
39
|
-
paddingBottom: "musaex-
|
|
39
|
+
paddingBottom: "musaex-1us5tpc",
|
|
40
40
|
position: "musaex-7wzq59",
|
|
41
|
-
height: "musaex-
|
|
42
|
-
top: "musaex-
|
|
41
|
+
height: "musaex-1sn4ngq",
|
|
42
|
+
top: "musaex-1pvtwdj",
|
|
43
43
|
overflowY: "musaex-10wlt62 musaex-r8ctv5",
|
|
44
44
|
$$css: true
|
|
45
45
|
}, {
|
|
46
|
-
"--borderRightColor": props.outlineColor != null ? props.outlineColor :
|
|
46
|
+
"--borderRightColor": props.outlineColor != null ? props.outlineColor : undefined
|
|
47
47
|
}];
|
|
48
48
|
},
|
|
49
49
|
main: {
|
|
@@ -53,25 +53,25 @@ var styles = {
|
|
|
53
53
|
header: {
|
|
54
54
|
"default": function _default(props) {
|
|
55
55
|
return [{
|
|
56
|
-
gap: "musaex-
|
|
56
|
+
gap: "musaex-1ixihd9",
|
|
57
57
|
rowGap: null,
|
|
58
58
|
columnGap: null,
|
|
59
|
-
boxShadow: "musaex-
|
|
59
|
+
boxShadow: tokens_stylex.elevations[props.elevation] == null ? null : "musaex-10ya7sz",
|
|
60
60
|
$$css: true
|
|
61
61
|
}, {
|
|
62
|
-
"--boxShadow": tokens_stylex.elevations[props.elevation] != null ? tokens_stylex.elevations[props.elevation] :
|
|
62
|
+
"--boxShadow": tokens_stylex.elevations[props.elevation] != null ? tokens_stylex.elevations[props.elevation] : undefined
|
|
63
63
|
}];
|
|
64
64
|
},
|
|
65
65
|
navigation: {
|
|
66
|
-
marginLeft: "musaex-
|
|
66
|
+
marginLeft: "musaex-ceibj9",
|
|
67
|
+
marginRight: "musaex-ack27t",
|
|
67
68
|
marginInlineStart: null,
|
|
68
69
|
marginInlineEnd: null,
|
|
69
|
-
|
|
70
|
-
height: "musaex-1xj1dsn",
|
|
70
|
+
height: "musaex-qg7gut",
|
|
71
71
|
$$css: true
|
|
72
72
|
},
|
|
73
73
|
divider: {
|
|
74
|
-
height: "musaex-
|
|
74
|
+
height: "musaex-pvxov6",
|
|
75
75
|
$$css: true
|
|
76
76
|
}
|
|
77
77
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _objectSpread from '@babel/runtime/helpers/objectSpread2';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { Layout } from '../layout/index.mjs';
|
|
4
|
-
import _stylex from '../../node_modules/.pnpm/@stylexjs_stylex@0.
|
|
4
|
+
import _stylex from '../../node_modules/.pnpm/@stylexjs_stylex@0.9.3/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
|
|
5
5
|
import { elevations } from '../theme/tokens.stylex.mjs';
|
|
6
6
|
import Divider from '../divider/divider.mjs';
|
|
7
7
|
import { useLogo, useNavigations } from './hooks.mjs';
|
|
@@ -20,28 +20,28 @@ var styles = {
|
|
|
20
20
|
},
|
|
21
21
|
sider: function sider(props) {
|
|
22
22
|
return [{
|
|
23
|
-
borderRightWidth: "musaex-
|
|
23
|
+
borderRightWidth: "musaex-a640vs",
|
|
24
24
|
borderInlineStartWidth: null,
|
|
25
25
|
borderInlineEndWidth: null,
|
|
26
26
|
borderRightStyle: "musaex-32b0ac",
|
|
27
27
|
borderInlineStartStyle: null,
|
|
28
28
|
borderInlineEndStyle: null,
|
|
29
|
-
borderRightColor: "musaex-
|
|
29
|
+
borderRightColor: props.outlineColor == null ? null : "musaex-pm6wt3",
|
|
30
30
|
borderInlineStartColor: null,
|
|
31
31
|
borderInlineEndColor: null,
|
|
32
|
-
paddingInline: "musaex-
|
|
32
|
+
paddingInline: "musaex-81lxrv",
|
|
33
33
|
paddingStart: null,
|
|
34
34
|
paddingLeft: null,
|
|
35
35
|
paddingEnd: null,
|
|
36
36
|
paddingRight: null,
|
|
37
|
-
paddingBottom: "musaex-
|
|
37
|
+
paddingBottom: "musaex-1us5tpc",
|
|
38
38
|
position: "musaex-7wzq59",
|
|
39
|
-
height: "musaex-
|
|
40
|
-
top: "musaex-
|
|
39
|
+
height: "musaex-1sn4ngq",
|
|
40
|
+
top: "musaex-1pvtwdj",
|
|
41
41
|
overflowY: "musaex-10wlt62 musaex-r8ctv5",
|
|
42
42
|
$$css: true
|
|
43
43
|
}, {
|
|
44
|
-
"--borderRightColor": props.outlineColor != null ? props.outlineColor :
|
|
44
|
+
"--borderRightColor": props.outlineColor != null ? props.outlineColor : undefined
|
|
45
45
|
}];
|
|
46
46
|
},
|
|
47
47
|
main: {
|
|
@@ -51,25 +51,25 @@ var styles = {
|
|
|
51
51
|
header: {
|
|
52
52
|
"default": function _default(props) {
|
|
53
53
|
return [{
|
|
54
|
-
gap: "musaex-
|
|
54
|
+
gap: "musaex-1ixihd9",
|
|
55
55
|
rowGap: null,
|
|
56
56
|
columnGap: null,
|
|
57
|
-
boxShadow: "musaex-
|
|
57
|
+
boxShadow: elevations[props.elevation] == null ? null : "musaex-10ya7sz",
|
|
58
58
|
$$css: true
|
|
59
59
|
}, {
|
|
60
|
-
"--boxShadow": elevations[props.elevation] != null ? elevations[props.elevation] :
|
|
60
|
+
"--boxShadow": elevations[props.elevation] != null ? elevations[props.elevation] : undefined
|
|
61
61
|
}];
|
|
62
62
|
},
|
|
63
63
|
navigation: {
|
|
64
|
-
marginLeft: "musaex-
|
|
64
|
+
marginLeft: "musaex-ceibj9",
|
|
65
|
+
marginRight: "musaex-ack27t",
|
|
65
66
|
marginInlineStart: null,
|
|
66
67
|
marginInlineEnd: null,
|
|
67
|
-
|
|
68
|
-
height: "musaex-1xj1dsn",
|
|
68
|
+
height: "musaex-qg7gut",
|
|
69
69
|
$$css: true
|
|
70
70
|
},
|
|
71
71
|
divider: {
|
|
72
|
-
height: "musaex-
|
|
72
|
+
height: "musaex-pvxov6",
|
|
73
73
|
$$css: true
|
|
74
74
|
}
|
|
75
75
|
}
|
|
@@ -2,34 +2,34 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
2
2
|
|
|
3
3
|
var _objectSpread = require('@babel/runtime/helpers/objectSpread2');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.
|
|
5
|
+
var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.9.3/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
|
|
6
6
|
var theme = require('../theme/theme.cjs');
|
|
7
7
|
var hooks = require('../theme/hooks.cjs');
|
|
8
|
-
var
|
|
9
|
-
var className$1 = require('../../utils/class-name.cjs');
|
|
8
|
+
var useClassNames_component = require('../../hooks/use-class-names.component.cjs');
|
|
10
9
|
var className = require('@aiszlab/relax/class-name');
|
|
11
10
|
var item = require('./item.cjs');
|
|
11
|
+
var context = require('./context.cjs');
|
|
12
12
|
|
|
13
13
|
var styles = {
|
|
14
14
|
breadcrumb: function breadcrumb(props) {
|
|
15
15
|
return [{
|
|
16
|
-
color: "musaex-
|
|
16
|
+
color: props.color == null ? null : "musaex-fx01vb",
|
|
17
17
|
$$css: true
|
|
18
18
|
}, {
|
|
19
|
-
"--color": props.color != null ? props.color :
|
|
19
|
+
"--color": props.color != null ? props.color : undefined
|
|
20
20
|
}];
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
var Breadcrumb = function Breadcrumb(_ref) {
|
|
24
24
|
var _ref$items = _ref.items,
|
|
25
25
|
items = _ref$items === void 0 ? [] : _ref$items,
|
|
26
|
-
className$
|
|
26
|
+
className$1 = _ref.className,
|
|
27
27
|
_ref$separator = _ref.separator,
|
|
28
28
|
separator = _ref$separator === void 0 ? "/" : _ref$separator,
|
|
29
29
|
style = _ref.style;
|
|
30
30
|
var theme$1 = hooks.useTheme();
|
|
31
|
-
var classNames =
|
|
32
|
-
|
|
31
|
+
var classNames = useClassNames_component.useClassNames(context.CLASS_NAMES);
|
|
32
|
+
// there is no need to render the breadcrumb when there is no items
|
|
33
33
|
if (items.length === 0) {
|
|
34
34
|
return null;
|
|
35
35
|
}
|
|
@@ -38,11 +38,15 @@ var Breadcrumb = function Breadcrumb(_ref) {
|
|
|
38
38
|
color: theme$1.colors["on-surface-variant"]
|
|
39
39
|
})),
|
|
40
40
|
navigations: {
|
|
41
|
-
className: "musaex-
|
|
41
|
+
className: "musaex-q3gua8 musaex-1n775ky musaex-3ct3a4 musaex-78zum5 musaex-1a02dak"
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
|
-
return /*#__PURE__*/React.createElement(
|
|
45
|
-
|
|
44
|
+
return /*#__PURE__*/React.createElement(context.Context.Provider, {
|
|
45
|
+
value: {
|
|
46
|
+
classNames: classNames
|
|
47
|
+
}
|
|
48
|
+
}, /*#__PURE__*/React.createElement("nav", {
|
|
49
|
+
className: className.stringify(classNames.breadcrumb, className$1, styled.breadcrumb.className),
|
|
46
50
|
style: _objectSpread(_objectSpread({}, styled.breadcrumb.style), style)
|
|
47
51
|
}, /*#__PURE__*/React.createElement("ol", _objectSpread({}, styled.navigations), items.map(function (item$1, index) {
|
|
48
52
|
return /*#__PURE__*/React.createElement(item.default, {
|
|
@@ -52,7 +56,7 @@ var Breadcrumb = function Breadcrumb(_ref) {
|
|
|
52
56
|
href: item$1.href,
|
|
53
57
|
separator: separator
|
|
54
58
|
});
|
|
55
|
-
})));
|
|
59
|
+
}))));
|
|
56
60
|
};
|
|
57
61
|
|
|
58
62
|
exports.default = Breadcrumb;
|