@app-studio/web 0.8.76 → 0.8.78
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/README.md +171 -0
- package/dist/components/Chart/Chart/ChartColors.d.ts +20 -0
- package/dist/components/Form/Label/Label/Label.type.d.ts +1 -1
- package/dist/components/Form/TextArea/TextArea/TextArea.type.d.ts +4 -2
- package/dist/components/Input/Input.type.d.ts +2 -1
- package/dist/components/OTPInput/OTPInput/OTPInput.type.d.ts +1 -2
- package/dist/components/Separator/Separator.d.ts +1 -0
- package/dist/web.cjs.development.js +78 -168
- package/dist/web.cjs.development.js.map +1 -1
- package/dist/web.cjs.production.min.js +1 -1
- package/dist/web.cjs.production.min.js.map +1 -1
- package/dist/web.esm.js +79 -170
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.development.js +82 -171
- package/dist/web.umd.development.js.map +1 -1
- package/dist/web.umd.production.min.js +1 -1
- package/dist/web.umd.production.min.js.map +1 -1
- package/package.json +1 -1
package/dist/web.esm.js
CHANGED
|
@@ -5,7 +5,7 @@ import 'core-js/modules/es.array.iterator.js';
|
|
|
5
5
|
import 'core-js/modules/es.string.includes.js';
|
|
6
6
|
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
7
7
|
import 'core-js/modules/es.regexp.to-string.js';
|
|
8
|
-
import { View, Horizontal, Vertical, Element, Center,
|
|
8
|
+
import { View, Horizontal, Vertical, Element, Center, useTheme, Image, Typography, Input, Form, Text as Text$1 } from 'app-studio';
|
|
9
9
|
import 'core-js/modules/es.symbol.description.js';
|
|
10
10
|
import 'core-js/modules/es.parse-float.js';
|
|
11
11
|
import { Link as Link$1 } from 'react-router-dom';
|
|
@@ -22,7 +22,6 @@ import 'core-js/modules/web.url.js';
|
|
|
22
22
|
import 'core-js/modules/web.url.to-json.js';
|
|
23
23
|
import 'core-js/modules/web.url-search-params.js';
|
|
24
24
|
import { create } from 'zustand';
|
|
25
|
-
import 'src/components/Badge/Badge';
|
|
26
25
|
import 'core-js/modules/es.string.ends-with.js';
|
|
27
26
|
import 'core-js/modules/es.string.match.js';
|
|
28
27
|
import 'core-js/modules/es.string.search.js';
|
|
@@ -464,12 +463,7 @@ var FontSizes = {
|
|
|
464
463
|
sm: '14px',
|
|
465
464
|
md: '16px',
|
|
466
465
|
lg: '18px',
|
|
467
|
-
xl: '20px'
|
|
468
|
-
'2xl': '24px',
|
|
469
|
-
'3xl': '30px',
|
|
470
|
-
'4xl': '36px',
|
|
471
|
-
'5xl': '48px',
|
|
472
|
-
'6xl': '60px'
|
|
466
|
+
xl: '20px'
|
|
473
467
|
};
|
|
474
468
|
/**
|
|
475
469
|
* Line heights following typography guidelines
|
|
@@ -479,12 +473,7 @@ var LineHeights = {
|
|
|
479
473
|
sm: '20px',
|
|
480
474
|
md: '24px',
|
|
481
475
|
lg: '28px',
|
|
482
|
-
xl: '28px'
|
|
483
|
-
'2xl': '32px',
|
|
484
|
-
'3xl': '36px',
|
|
485
|
-
'4xl': '40px',
|
|
486
|
-
'5xl': '60px',
|
|
487
|
-
'6xl': '72px'
|
|
476
|
+
xl: '28px'
|
|
488
477
|
};
|
|
489
478
|
/**
|
|
490
479
|
* Font weights following typography guidelines
|
|
@@ -725,9 +714,12 @@ var IconWrapper = _ref => {
|
|
|
725
714
|
};
|
|
726
715
|
// Utility function to handle fill and stroke based on 'filled' prop
|
|
727
716
|
var getSvgProps = (filled, color, strokeWidth) => {
|
|
717
|
+
var {
|
|
718
|
+
getColor
|
|
719
|
+
} = useTheme();
|
|
728
720
|
return {
|
|
729
|
-
fill: filled ? color : 'none',
|
|
730
|
-
stroke: filled ? 'none' : color,
|
|
721
|
+
fill: filled ? getColor(color) : 'none',
|
|
722
|
+
stroke: filled ? 'none' : getColor(color),
|
|
731
723
|
strokeWidth,
|
|
732
724
|
strokeLinecap: 'round',
|
|
733
725
|
strokeLinejoin: 'round'
|
|
@@ -1193,7 +1185,7 @@ var InfoIcon = _ref19 => {
|
|
|
1193
1185
|
var {
|
|
1194
1186
|
widthHeight = 24,
|
|
1195
1187
|
color = 'currentColor',
|
|
1196
|
-
filled =
|
|
1188
|
+
filled = true,
|
|
1197
1189
|
strokeWidth = 1
|
|
1198
1190
|
} = _ref19,
|
|
1199
1191
|
props = _objectWithoutPropertiesLoose(_ref19, _excluded19);
|
|
@@ -2937,7 +2929,7 @@ var AlertView = _ref => {
|
|
|
2937
2929
|
borderStyle: "solid",
|
|
2938
2930
|
borderColor: Themes[variant].container.borderColor,
|
|
2939
2931
|
backgroundColor: Themes[variant].container.backgroundColor,
|
|
2940
|
-
boxShadow: Themes[variant].container.
|
|
2932
|
+
boxShadow: Themes[variant].container.containerShadow,
|
|
2941
2933
|
// Animation
|
|
2942
2934
|
transition: "all 0.2s ease"
|
|
2943
2935
|
}, views == null ? void 0 : views.container), /*#__PURE__*/React.createElement(View, Object.assign({
|
|
@@ -3371,12 +3363,7 @@ var IconSizes = {
|
|
|
3371
3363
|
sm: 14,
|
|
3372
3364
|
md: 16,
|
|
3373
3365
|
lg: 18,
|
|
3374
|
-
xl: 20
|
|
3375
|
-
'2xl': 24,
|
|
3376
|
-
'3xl': 30,
|
|
3377
|
-
'4xl': 36,
|
|
3378
|
-
'5xl': 48,
|
|
3379
|
-
'6xl': 64
|
|
3366
|
+
xl: 20
|
|
3380
3367
|
};
|
|
3381
3368
|
|
|
3382
3369
|
var _excluded$6 = ["children", "to", "iconSize", "underline", "isHovered", "isExternal", "views", "setIsHovered"];
|
|
@@ -3628,12 +3615,7 @@ var DefaultSizes = {
|
|
|
3628
3615
|
sm: 18,
|
|
3629
3616
|
md: 22,
|
|
3630
3617
|
lg: 26,
|
|
3631
|
-
xl: 30
|
|
3632
|
-
'2xl': 40,
|
|
3633
|
-
'3xl': 50,
|
|
3634
|
-
'4xl': 60,
|
|
3635
|
-
'5xl': 70,
|
|
3636
|
-
'6xl': 80
|
|
3618
|
+
xl: 30
|
|
3637
3619
|
};
|
|
3638
3620
|
// Specifies a mapping of spinning speed labels to numerical millisecond values, determining the speed of the Loader component's animation cycles.
|
|
3639
3621
|
var DefaultSpeeds = {
|
|
@@ -4748,8 +4730,32 @@ Carousel.Item = CarouselItemComponent; // Compound component pattern
|
|
|
4748
4730
|
Carousel.Previous = CarouselPreviousComponent; // Compound component pattern
|
|
4749
4731
|
Carousel.Next = CarouselNextComponent; // Compound component pattern
|
|
4750
4732
|
|
|
4733
|
+
/**
|
|
4734
|
+
* Chart Colors
|
|
4735
|
+
*
|
|
4736
|
+
* Defines a consistent color scheme for all chart examples.
|
|
4737
|
+
* These colors should be used in the same order across all chart types
|
|
4738
|
+
* to ensure consistency between the charts and their legends.
|
|
4739
|
+
*/
|
|
4740
|
+
var CHART_COLORS = {
|
|
4741
|
+
// Primary colors for all charts
|
|
4742
|
+
blue: 'color.blue.500',
|
|
4743
|
+
green: 'color.green.500',
|
|
4744
|
+
purple: 'color.purple.500',
|
|
4745
|
+
orange: 'color.orange.500',
|
|
4746
|
+
red: 'color.red.500',
|
|
4747
|
+
// Additional colors if needed
|
|
4748
|
+
teal: 'color.teal.500',
|
|
4749
|
+
pink: 'color.pink.500',
|
|
4750
|
+
indigo: 'color.indigo.500',
|
|
4751
|
+
yellow: 'color.yellow.500',
|
|
4752
|
+
cyan: 'color.cyan.500'
|
|
4753
|
+
};
|
|
4754
|
+
// Default color array for consistent ordering
|
|
4755
|
+
var DEFAULT_CHART_COLORS = [CHART_COLORS.blue, CHART_COLORS.green, CHART_COLORS.purple, CHART_COLORS.orange, CHART_COLORS.red, CHART_COLORS.teal, CHART_COLORS.pink, CHART_COLORS.indigo, CHART_COLORS.yellow, CHART_COLORS.cyan];
|
|
4756
|
+
|
|
4751
4757
|
// Default colors for chart series
|
|
4752
|
-
var DEFAULT_COLORS =
|
|
4758
|
+
var DEFAULT_COLORS = DEFAULT_CHART_COLORS;
|
|
4753
4759
|
// Default styles for chart container
|
|
4754
4760
|
var ChartContainerStyles = {
|
|
4755
4761
|
width: '100%',
|
|
@@ -4993,6 +4999,9 @@ var BarChart = _ref => {
|
|
|
4993
4999
|
hideTooltip,
|
|
4994
5000
|
views
|
|
4995
5001
|
} = _ref;
|
|
5002
|
+
var {
|
|
5003
|
+
getColor
|
|
5004
|
+
} = useTheme();
|
|
4996
5005
|
// Calculate chart dimensions
|
|
4997
5006
|
var padding = {
|
|
4998
5007
|
top: 20,
|
|
@@ -5086,7 +5095,7 @@ var BarChart = _ref => {
|
|
|
5086
5095
|
y: y,
|
|
5087
5096
|
width: barWidth,
|
|
5088
5097
|
height: barHeight,
|
|
5089
|
-
fill: series.color,
|
|
5098
|
+
fill: series.color ? getColor(series.color) : 'black',
|
|
5090
5099
|
onMouseEnter: handleMouseEnter,
|
|
5091
5100
|
onMouseLeave: hideTooltip,
|
|
5092
5101
|
onClick: handleClick
|
|
@@ -5107,6 +5116,9 @@ var LineChart = _ref => {
|
|
|
5107
5116
|
views
|
|
5108
5117
|
} = _ref;
|
|
5109
5118
|
// Calculate chart dimensions
|
|
5119
|
+
var {
|
|
5120
|
+
getColor
|
|
5121
|
+
} = useTheme();
|
|
5110
5122
|
var padding = {
|
|
5111
5123
|
top: 20,
|
|
5112
5124
|
right: 20,
|
|
@@ -5197,11 +5209,11 @@ var LineChart = _ref => {
|
|
|
5197
5209
|
key: "series-" + seriesIndex
|
|
5198
5210
|
}, /*#__PURE__*/React.createElement("path", Object.assign({
|
|
5199
5211
|
d: generateAreaPath(series.data),
|
|
5200
|
-
fill: series.color,
|
|
5212
|
+
fill: series.color ? getColor(series.color) : 'black',
|
|
5201
5213
|
opacity: 0.1
|
|
5202
5214
|
}, views == null ? void 0 : views.area)), /*#__PURE__*/React.createElement("path", Object.assign({
|
|
5203
5215
|
d: generatePath(series.data),
|
|
5204
|
-
stroke: series.color
|
|
5216
|
+
stroke: series.color ? getColor(series.color) : 'black'
|
|
5205
5217
|
}, LineStyles, views == null ? void 0 : views.line)), series.data.map((value, dataIndex) => {
|
|
5206
5218
|
var x = padding.left + dataIndex / (data.labels.length - 1) * chartWidth;
|
|
5207
5219
|
var y = height - padding.bottom - value / maxValue * chartHeight * animationProgress;
|
|
@@ -6244,9 +6256,9 @@ var FieldContainer = _ref => {
|
|
|
6244
6256
|
gap: 8,
|
|
6245
6257
|
position: "relative",
|
|
6246
6258
|
width: "100%"
|
|
6247
|
-
}, props), children, !error && helperText && (/*#__PURE__*/React.createElement(HelperText, Object.assign({
|
|
6259
|
+
}, props, views == null ? void 0 : views.container), children, !error && helperText && (/*#__PURE__*/React.createElement(HelperText, Object.assign({
|
|
6248
6260
|
marginTop: 4
|
|
6249
|
-
}, views), helperText)), error && (/*#__PURE__*/React.createElement(Text, {
|
|
6261
|
+
}, views == null ? void 0 : views.helperText), helperText)), error && (/*#__PURE__*/React.createElement(Text, Object.assign({
|
|
6250
6262
|
size: "xs",
|
|
6251
6263
|
marginTop: 4,
|
|
6252
6264
|
marginHorizontal: 0,
|
|
@@ -6254,7 +6266,7 @@ var FieldContainer = _ref => {
|
|
|
6254
6266
|
,
|
|
6255
6267
|
color: "color.red.500",
|
|
6256
6268
|
transition: "all 0.2s ease"
|
|
6257
|
-
}, error)));
|
|
6269
|
+
}, views == null ? void 0 : views.error), error)));
|
|
6258
6270
|
};
|
|
6259
6271
|
|
|
6260
6272
|
/**
|
|
@@ -7033,26 +7045,6 @@ var KnobSizes = {
|
|
|
7033
7045
|
xl: {
|
|
7034
7046
|
height: '28px',
|
|
7035
7047
|
width: '28px'
|
|
7036
|
-
},
|
|
7037
|
-
'2xl': {
|
|
7038
|
-
height: '32px',
|
|
7039
|
-
width: '32px'
|
|
7040
|
-
},
|
|
7041
|
-
'3xl': {
|
|
7042
|
-
height: '36px',
|
|
7043
|
-
width: '36px'
|
|
7044
|
-
},
|
|
7045
|
-
'4xl': {
|
|
7046
|
-
height: '40px',
|
|
7047
|
-
width: '40px'
|
|
7048
|
-
},
|
|
7049
|
-
'5xl': {
|
|
7050
|
-
height: '44px',
|
|
7051
|
-
width: '44px'
|
|
7052
|
-
},
|
|
7053
|
-
'6xl': {
|
|
7054
|
-
height: '48px',
|
|
7055
|
-
width: '48px'
|
|
7056
7048
|
}
|
|
7057
7049
|
};
|
|
7058
7050
|
/**
|
|
@@ -7079,26 +7071,6 @@ var SliderSizes = {
|
|
|
7079
7071
|
xl: {
|
|
7080
7072
|
height: '40px',
|
|
7081
7073
|
width: '72px'
|
|
7082
|
-
},
|
|
7083
|
-
'2xl': {
|
|
7084
|
-
height: '44px',
|
|
7085
|
-
width: '80px'
|
|
7086
|
-
},
|
|
7087
|
-
'3xl': {
|
|
7088
|
-
height: '48px',
|
|
7089
|
-
width: '88px'
|
|
7090
|
-
},
|
|
7091
|
-
'4xl': {
|
|
7092
|
-
height: '52px',
|
|
7093
|
-
width: '96px'
|
|
7094
|
-
},
|
|
7095
|
-
'5xl': {
|
|
7096
|
-
height: '56px',
|
|
7097
|
-
width: '104px'
|
|
7098
|
-
},
|
|
7099
|
-
'6xl': {
|
|
7100
|
-
height: '60px',
|
|
7101
|
-
width: '112px'
|
|
7102
7074
|
}
|
|
7103
7075
|
};
|
|
7104
7076
|
/**
|
|
@@ -7125,26 +7097,6 @@ var SliderPadding = {
|
|
|
7125
7097
|
xl: {
|
|
7126
7098
|
paddingVertical: 4,
|
|
7127
7099
|
paddingHorizontal: 4
|
|
7128
|
-
},
|
|
7129
|
-
'2xl': {
|
|
7130
|
-
paddingVertical: 4,
|
|
7131
|
-
paddingHorizontal: 4
|
|
7132
|
-
},
|
|
7133
|
-
'3xl': {
|
|
7134
|
-
paddingVertical: 4,
|
|
7135
|
-
paddingHorizontal: 4
|
|
7136
|
-
},
|
|
7137
|
-
'4xl': {
|
|
7138
|
-
paddingVertical: 4,
|
|
7139
|
-
paddingHorizontal: 4
|
|
7140
|
-
},
|
|
7141
|
-
'5xl': {
|
|
7142
|
-
paddingVertical: 4,
|
|
7143
|
-
paddingHorizontal: 4
|
|
7144
|
-
},
|
|
7145
|
-
'6xl': {
|
|
7146
|
-
paddingVertical: 4,
|
|
7147
|
-
paddingHorizontal: 4
|
|
7148
7100
|
}
|
|
7149
7101
|
};
|
|
7150
7102
|
/**
|
|
@@ -7357,11 +7309,8 @@ var TextAreaView = _ref => {
|
|
|
7357
7309
|
setIsFocused = () => {},
|
|
7358
7310
|
setIsHovered = () => {},
|
|
7359
7311
|
views = {
|
|
7360
|
-
box: {},
|
|
7361
|
-
text: {},
|
|
7362
7312
|
label: {},
|
|
7363
|
-
helperText: {}
|
|
7364
|
-
field: {}
|
|
7313
|
+
helperText: {}
|
|
7365
7314
|
}
|
|
7366
7315
|
} = _ref,
|
|
7367
7316
|
props = _objectWithoutPropertiesLoose(_ref, _excluded$o);
|
|
@@ -7372,11 +7321,11 @@ var TextAreaView = _ref => {
|
|
|
7372
7321
|
var fieldStyles = Object.assign({
|
|
7373
7322
|
// Layout properties
|
|
7374
7323
|
margin: 0,
|
|
7375
|
-
paddingVertical:
|
|
7376
|
-
paddingHorizontal:
|
|
7324
|
+
paddingVertical: 2,
|
|
7325
|
+
paddingHorizontal: 2,
|
|
7377
7326
|
width: '100%',
|
|
7378
|
-
|
|
7379
|
-
|
|
7327
|
+
maxHeight: 'calc(100vh - 100px)',
|
|
7328
|
+
height: 'calc(5em)',
|
|
7380
7329
|
border: 'none',
|
|
7381
7330
|
resize: 'vertical',
|
|
7382
7331
|
// Focus state
|
|
@@ -7387,7 +7336,7 @@ var TextAreaView = _ref => {
|
|
|
7387
7336
|
},
|
|
7388
7337
|
// Typography properties
|
|
7389
7338
|
fontSize: Typography.fontSizes[size],
|
|
7390
|
-
lineHeight:
|
|
7339
|
+
lineHeight: Typography.fontSizes[size] * 1.5,
|
|
7391
7340
|
letterSpacing: '-0.01em',
|
|
7392
7341
|
// Visual properties
|
|
7393
7342
|
backgroundColor: 'transparent',
|
|
@@ -7395,11 +7344,7 @@ var TextAreaView = _ref => {
|
|
|
7395
7344
|
// State properties
|
|
7396
7345
|
cursor: isDisabled ? 'not-allowed' : 'text',
|
|
7397
7346
|
// Animation
|
|
7398
|
-
transition: 'all 0.2s ease'
|
|
7399
|
-
// Dark mode support
|
|
7400
|
-
'@media (prefers-color-scheme: dark)': {
|
|
7401
|
-
color: isDisabled ? 'color.gray.600' : 'color.gray.100'
|
|
7402
|
-
}
|
|
7347
|
+
transition: 'all 0.2s ease'
|
|
7403
7348
|
}, views['field']);
|
|
7404
7349
|
var handleHover = () => setIsHovered(!isHovered);
|
|
7405
7350
|
var handleFocus = () => {
|
|
@@ -7421,11 +7366,11 @@ var TextAreaView = _ref => {
|
|
|
7421
7366
|
if (onChange) onChange(event.target.value);
|
|
7422
7367
|
}
|
|
7423
7368
|
};
|
|
7424
|
-
return /*#__PURE__*/React.createElement(FieldContainer, {
|
|
7369
|
+
return /*#__PURE__*/React.createElement(FieldContainer, Object.assign({
|
|
7425
7370
|
helperText: helperText,
|
|
7426
7371
|
error: error,
|
|
7427
7372
|
views: views
|
|
7428
|
-
}, /*#__PURE__*/React.createElement(FieldContent, {
|
|
7373
|
+
}, props), /*#__PURE__*/React.createElement(FieldContent, Object.assign({
|
|
7429
7374
|
label: label,
|
|
7430
7375
|
size: size,
|
|
7431
7376
|
error: error,
|
|
@@ -7442,11 +7387,11 @@ var TextAreaView = _ref => {
|
|
|
7442
7387
|
showLabel: showLabel,
|
|
7443
7388
|
onMouseEnter: handleHover,
|
|
7444
7389
|
onMouseLeave: handleHover
|
|
7445
|
-
}, /*#__PURE__*/React.createElement(FieldWrapper, null, showLabel && (/*#__PURE__*/React.createElement(FieldLabel, Object.assign({
|
|
7390
|
+
}, views == null ? void 0 : views.content), /*#__PURE__*/React.createElement(FieldWrapper, Object.assign({}, views == null ? void 0 : views.warper), showLabel && (/*#__PURE__*/React.createElement(FieldLabel, Object.assign({
|
|
7446
7391
|
htmlFor: id,
|
|
7447
7392
|
color: 'theme.primary',
|
|
7448
7393
|
error: error
|
|
7449
|
-
}, views), label)), /*#__PURE__*/React.createElement(Element, Object.assign({
|
|
7394
|
+
}, views == null ? void 0 : views.label), label)), /*#__PURE__*/React.createElement(Element, Object.assign({
|
|
7450
7395
|
as: "textarea",
|
|
7451
7396
|
id: id,
|
|
7452
7397
|
name: name,
|
|
@@ -7461,10 +7406,10 @@ var TextAreaView = _ref => {
|
|
|
7461
7406
|
onBlur: handleBlur,
|
|
7462
7407
|
onFocus: handleFocus,
|
|
7463
7408
|
multiline: isMultiline
|
|
7464
|
-
}, fieldStyles,
|
|
7409
|
+
}, fieldStyles, {
|
|
7465
7410
|
onChange: handleChange,
|
|
7466
7411
|
onChangeText: handleChange
|
|
7467
|
-
})))));
|
|
7412
|
+
}, views == null ? void 0 : views.textarea)))));
|
|
7468
7413
|
};
|
|
7469
7414
|
|
|
7470
7415
|
// Defines the TextAreaComponent as a functional component that accepts TextAreaProps for type safety and structure.
|
|
@@ -7532,7 +7477,7 @@ var TextFieldView = _ref => {
|
|
|
7532
7477
|
onChangeText,
|
|
7533
7478
|
shadow = {},
|
|
7534
7479
|
views = {
|
|
7535
|
-
|
|
7480
|
+
container: {},
|
|
7536
7481
|
field: {},
|
|
7537
7482
|
label: {},
|
|
7538
7483
|
helperText: {},
|
|
@@ -7732,26 +7677,6 @@ var Sizes = {
|
|
|
7732
7677
|
xl: {
|
|
7733
7678
|
height: '32px',
|
|
7734
7679
|
width: '32px'
|
|
7735
|
-
},
|
|
7736
|
-
'2xl': {
|
|
7737
|
-
height: '36px',
|
|
7738
|
-
width: '36px'
|
|
7739
|
-
},
|
|
7740
|
-
'3xl': {
|
|
7741
|
-
height: '40px',
|
|
7742
|
-
width: '40px'
|
|
7743
|
-
},
|
|
7744
|
-
'4xl': {
|
|
7745
|
-
height: '44px',
|
|
7746
|
-
width: '44px'
|
|
7747
|
-
},
|
|
7748
|
-
'5xl': {
|
|
7749
|
-
height: '48px',
|
|
7750
|
-
width: '48px'
|
|
7751
|
-
},
|
|
7752
|
-
'6xl': {
|
|
7753
|
-
height: '52px',
|
|
7754
|
-
width: '52px'
|
|
7755
7680
|
}
|
|
7756
7681
|
};
|
|
7757
7682
|
/**
|
|
@@ -7763,12 +7688,7 @@ var IconSizes$3 = {
|
|
|
7763
7688
|
sm: 14,
|
|
7764
7689
|
md: 16,
|
|
7765
7690
|
lg: 20,
|
|
7766
|
-
xl: 24
|
|
7767
|
-
'2xl': 28,
|
|
7768
|
-
'3xl': 32,
|
|
7769
|
-
'4xl': 36,
|
|
7770
|
-
'5xl': 40,
|
|
7771
|
-
'6xl': 44
|
|
7691
|
+
xl: 24
|
|
7772
7692
|
};
|
|
7773
7693
|
/**
|
|
7774
7694
|
* Variant styles for the Checkbox component
|
|
@@ -9564,8 +9484,7 @@ var CountryPickerView = _ref5 => {
|
|
|
9564
9484
|
icon: {},
|
|
9565
9485
|
label: {},
|
|
9566
9486
|
dropDown: {},
|
|
9567
|
-
helperText: {}
|
|
9568
|
-
box: {}
|
|
9487
|
+
helperText: {}
|
|
9569
9488
|
},
|
|
9570
9489
|
themeMode: elementMode
|
|
9571
9490
|
} = _ref5,
|
|
@@ -9713,7 +9632,7 @@ var DatePickerView = _ref => {
|
|
|
9713
9632
|
variant = 'default',
|
|
9714
9633
|
shape = 'default',
|
|
9715
9634
|
views = {
|
|
9716
|
-
|
|
9635
|
+
container: {},
|
|
9717
9636
|
label: {},
|
|
9718
9637
|
helperText: {},
|
|
9719
9638
|
text: {},
|
|
@@ -9996,7 +9915,7 @@ var ComboBoxView = _ref => {
|
|
|
9996
9915
|
widthHeight: 12
|
|
9997
9916
|
}),
|
|
9998
9917
|
views: {
|
|
9999
|
-
|
|
9918
|
+
container: Object.assign({
|
|
10000
9919
|
width: '100%',
|
|
10001
9920
|
padding: '6px 12px',
|
|
10002
9921
|
borderBottom: filteredItems.length > 0 ? '1px solid #ccc' : '1px solid transparent'
|
|
@@ -10366,14 +10285,7 @@ var OTPInputView = _ref => {
|
|
|
10366
10285
|
length = 6,
|
|
10367
10286
|
helperText,
|
|
10368
10287
|
placeholder = '',
|
|
10369
|
-
views = {
|
|
10370
|
-
container: {},
|
|
10371
|
-
input: {},
|
|
10372
|
-
box: {},
|
|
10373
|
-
text: {},
|
|
10374
|
-
label: {},
|
|
10375
|
-
helperText: {}
|
|
10376
|
-
},
|
|
10288
|
+
views = {},
|
|
10377
10289
|
size = 'md',
|
|
10378
10290
|
shape = 'rounded',
|
|
10379
10291
|
variant = 'outline',
|
|
@@ -10479,7 +10391,7 @@ var OTPInputView = _ref => {
|
|
|
10479
10391
|
width: "100%",
|
|
10480
10392
|
position: "relative",
|
|
10481
10393
|
height: size === 'xs' ? '32px' : size === 'sm' ? '36px' : size === 'md' ? '40px' : size === 'lg' ? '48px' : '56px'
|
|
10482
|
-
}, views.
|
|
10394
|
+
}, views.container), slot.char ? (/*#__PURE__*/React.createElement(View, Object.assign({
|
|
10483
10395
|
textAlign: "center",
|
|
10484
10396
|
fontSize: size === 'xs' ? '14px' : size === 'sm' ? '16px' : size === 'md' ? '18px' : size === 'lg' ? '20px' : '24px',
|
|
10485
10397
|
fontWeight: "medium"
|
|
@@ -12247,23 +12159,19 @@ var OverlayAlignments = {
|
|
|
12247
12159
|
},
|
|
12248
12160
|
top: {
|
|
12249
12161
|
justifyContent: 'center',
|
|
12250
|
-
alignItems: 'flex-start'
|
|
12251
|
-
paddingTop: '64px'
|
|
12162
|
+
alignItems: 'flex-start'
|
|
12252
12163
|
},
|
|
12253
12164
|
right: {
|
|
12254
12165
|
justifyContent: 'flex-end',
|
|
12255
|
-
alignItems: 'center'
|
|
12256
|
-
paddingRight: '32px'
|
|
12166
|
+
alignItems: 'center'
|
|
12257
12167
|
},
|
|
12258
12168
|
bottom: {
|
|
12259
12169
|
justifyContent: 'center',
|
|
12260
|
-
alignItems: 'flex-end'
|
|
12261
|
-
paddingBottom: '64px'
|
|
12170
|
+
alignItems: 'flex-end'
|
|
12262
12171
|
},
|
|
12263
12172
|
left: {
|
|
12264
12173
|
justifyContent: 'flex-start',
|
|
12265
|
-
alignItems: 'center'
|
|
12266
|
-
paddingLeft: '32px'
|
|
12174
|
+
alignItems: 'center'
|
|
12267
12175
|
}
|
|
12268
12176
|
};
|
|
12269
12177
|
/**
|
|
@@ -15166,7 +15074,7 @@ var SeparatorView = _ref => {
|
|
|
15166
15074
|
variant = 'solid',
|
|
15167
15075
|
thickness = 'thin',
|
|
15168
15076
|
color,
|
|
15169
|
-
spacing = '
|
|
15077
|
+
spacing = '0px',
|
|
15170
15078
|
label,
|
|
15171
15079
|
decorative = false,
|
|
15172
15080
|
views
|
|
@@ -15191,7 +15099,7 @@ var SeparatorView = _ref => {
|
|
|
15191
15099
|
alignItems: "center",
|
|
15192
15100
|
justifyContent: "center",
|
|
15193
15101
|
width: "100%",
|
|
15194
|
-
|
|
15102
|
+
padding: spacing
|
|
15195
15103
|
}, ariaProps, props), /*#__PURE__*/React.createElement(View, Object.assign({
|
|
15196
15104
|
height: "0px",
|
|
15197
15105
|
flexGrow: 1,
|
|
@@ -15214,7 +15122,7 @@ var SeparatorView = _ref => {
|
|
|
15214
15122
|
borderTopWidth: borderWidth,
|
|
15215
15123
|
borderTopStyle: borderStyle,
|
|
15216
15124
|
borderTopColor: separatorColor,
|
|
15217
|
-
|
|
15125
|
+
padding: spacing
|
|
15218
15126
|
}, DefaultSeparatorStyles.container, ariaProps, views == null ? void 0 : views.container, props));
|
|
15219
15127
|
}
|
|
15220
15128
|
// For vertical separator
|
|
@@ -15224,7 +15132,7 @@ var SeparatorView = _ref => {
|
|
|
15224
15132
|
borderLeftWidth: borderWidth,
|
|
15225
15133
|
borderLeftStyle: borderStyle,
|
|
15226
15134
|
borderLeftColor: separatorColor,
|
|
15227
|
-
|
|
15135
|
+
padding: spacing
|
|
15228
15136
|
}, DefaultSeparatorStyles.container, ariaProps, views == null ? void 0 : views.container, props));
|
|
15229
15137
|
};
|
|
15230
15138
|
|
|
@@ -15235,6 +15143,7 @@ var SeparatorComponent = props => {
|
|
|
15235
15143
|
return /*#__PURE__*/React.createElement(SeparatorView, Object.assign({}, props));
|
|
15236
15144
|
};
|
|
15237
15145
|
var Separator = SeparatorComponent;
|
|
15146
|
+
var Divider = SeparatorComponent;
|
|
15238
15147
|
|
|
15239
15148
|
var useSidebarState = function useSidebarState(defaultExpanded, expanded, onExpandedChange, breakpoint) {
|
|
15240
15149
|
if (defaultExpanded === void 0) {
|
|
@@ -17803,5 +17712,5 @@ var Tooltip = TooltipComponent;
|
|
|
17803
17712
|
Tooltip.Trigger = TooltipTrigger;
|
|
17804
17713
|
Tooltip.Content = TooltipContent;
|
|
17805
17714
|
|
|
17806
|
-
export { Accordion, Alert, ArrowIcon, AspectRatio, Avatar, Badge, BatteryIcon, BluetoothIcon, BoldArrowIcon, BookmarkIcon, Button, CalendarIcon, CameraIcon, Card, Carousel, Chart, ChartIcon, Checkbox, ChevronIcon, ClockIcon, CloseEyeIcon, CloseIcon, CloudIcon, ComboBox, Command, ContextMenu, CopyIcon, CountryPicker, CropIcon, DatePicker, DeleteIcon, DocumentIcon, DownloadIcon, DragAndDrop, DragAndDropComponent, DragHandleIcon, DropdownMenu, DustBinIcon, EditIcon, ErrorIcon, ExternalLinkIcon, FacebookIcon, FileIcon, FileImage, FileSVG, FilterIcon, FormikCheckbox, FormikComboBox, FormikCountryPicker, FormikDatePicker, FormikForm, FormikOTPInput, FormikPassword, FormikSelect, FormikSlider, FormikSwitch, FormikTextArea, FormikTextField, HeartIcon, HelpIcon, HomeIcon, HoverCard, Icon, ImageIcon, InfoIcon, InstagramIcon, LikeIcon, Link, LinkedinIcon, Loader, LocationIcon, LockIcon, MagicWandIcon, MenuIcon, Menubar, MessageLayout, MessageView, MicrophoneIcon, MinusIcon, Modal, MoonIcon, NavigationMenu, NotificationIcon, OTPInput, OpenEyeIcon, Pagination, PanelIcon, Password, PauseIcon, PlayIcon, PlusIcon, PrintIcon, ProfileIcon, RefreshIcon, Resizable, RotateIcon, SaveIcon, SearchIcon, Select, Separator, SettingsIcon, ShapeIcon, ShareIcon, Sidebar, Slider, SliderIcon, SliderVerticalIcon, SpinnerIcon, StarIcon, SuccessIcon, Switch, Table, Tabs, Text, TextArea, TextField, TextIcon, ThreadsIcon, TickIcon, Toast, Toggle, ToggleGroup, Tooltip, TwitchIcon, TwitterIcon, UnLikeIcon, UnlockIcon, UploadIcon, Uploader, UserIcon, VideoIcon, WarningIcon, WifiIcon, XIcon, YoutubeIcon, ZoomInIcon, ZoomOutIcon, hideMessage, hideModal, showMessage, showModal, useMessageStore, useModalStore, useToast$1 as useToast };
|
|
17715
|
+
export { Accordion, Alert, ArrowIcon, AspectRatio, Avatar, Badge, BatteryIcon, BluetoothIcon, BoldArrowIcon, BookmarkIcon, Button, CalendarIcon, CameraIcon, Card, Carousel, Chart, ChartIcon, Checkbox, ChevronIcon, ClockIcon, CloseEyeIcon, CloseIcon, CloudIcon, ComboBox, Command, ContextMenu, CopyIcon, CountryPicker, CropIcon, DatePicker, DeleteIcon, Divider, DocumentIcon, DownloadIcon, DragAndDrop, DragAndDropComponent, DragHandleIcon, DropdownMenu, DustBinIcon, EditIcon, ErrorIcon, ExternalLinkIcon, FacebookIcon, FileIcon, FileImage, FileSVG, FilterIcon, FormikCheckbox, FormikComboBox, FormikCountryPicker, FormikDatePicker, FormikForm, FormikOTPInput, FormikPassword, FormikSelect, FormikSlider, FormikSwitch, FormikTextArea, FormikTextField, HeartIcon, HelpIcon, HomeIcon, HoverCard, Icon, ImageIcon, InfoIcon, InstagramIcon, LikeIcon, Link, LinkedinIcon, Loader, LocationIcon, LockIcon, MagicWandIcon, MenuIcon, Menubar, MessageLayout, MessageView, MicrophoneIcon, MinusIcon, Modal, MoonIcon, NavigationMenu, NotificationIcon, OTPInput, OpenEyeIcon, Pagination, PanelIcon, Password, PauseIcon, PlayIcon, PlusIcon, PrintIcon, ProfileIcon, RefreshIcon, Resizable, RotateIcon, SaveIcon, SearchIcon, Select, Separator, SettingsIcon, ShapeIcon, ShareIcon, Sidebar, Slider, SliderIcon, SliderVerticalIcon, SpinnerIcon, StarIcon, SuccessIcon, Switch, Table, Tabs, Text, TextArea, TextField, TextIcon, ThreadsIcon, TickIcon, Toast, Toggle, ToggleGroup, Tooltip, TwitchIcon, TwitterIcon, UnLikeIcon, UnlockIcon, UploadIcon, Uploader, UserIcon, VideoIcon, WarningIcon, WifiIcon, XIcon, YoutubeIcon, ZoomInIcon, ZoomOutIcon, hideMessage, hideModal, showMessage, showModal, useMessageStore, useModalStore, useToast$1 as useToast };
|
|
17807
17716
|
//# sourceMappingURL=web.esm.js.map
|