@dreamcommerce/aurora 3.0.0-310 → 3.0.0-312
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/anchor_presets/anchor_button.js +27 -0
- package/build/cjs/packages/aurora/src/components/anchor_presets/anchor_button.js.map +1 -0
- package/build/cjs/packages/aurora/src/components/anchor_presets/anchor_presets.js +33 -0
- package/build/cjs/packages/aurora/src/components/anchor_presets/anchor_presets.js.map +1 -0
- package/build/cjs/packages/aurora/src/components/anchor_presets/anchor_presets_constants.js +18 -0
- package/build/cjs/packages/aurora/src/components/anchor_presets/anchor_presets_constants.js.map +1 -0
- package/build/cjs/packages/aurora/src/components/color_picker/components/pure_color_picker.js +1 -1
- package/build/cjs/packages/aurora/src/components/controls/anchor_presets_control/anchor_presets_control.js +45 -0
- package/build/cjs/packages/aurora/src/components/controls/anchor_presets_control/anchor_presets_control.js.map +1 -0
- package/build/cjs/packages/aurora/src/components/controls/checkbox_control/checkbox_control.js +3 -3
- package/build/cjs/packages/aurora/src/components/controls/color_picker_control/color_picker_control.js +3 -3
- package/build/cjs/packages/aurora/src/components/controls/input_control/input_control.js +3 -3
- package/build/cjs/packages/aurora/src/components/controls/multiselect_control/multiselect_control.js +3 -3
- package/build/cjs/packages/aurora/src/components/controls/radio_group_control/radio_group_control.js +3 -3
- package/build/cjs/packages/aurora/src/components/controls/segmented_control_control/segmented_control_control.js +64 -0
- package/build/cjs/packages/aurora/src/components/controls/segmented_control_control/segmented_control_control.js.map +1 -0
- package/build/cjs/packages/aurora/src/components/controls/select_control/select_control.js +3 -3
- package/build/cjs/packages/aurora/src/components/controls/switch_control/switch_control.js +3 -3
- package/build/cjs/packages/aurora/src/components/controls/text_area_control/text_area_control.js +3 -3
- package/build/cjs/packages/aurora/src/components/controls/values_syncer_control/values_syncer_control.js +3 -3
- package/build/cjs/packages/aurora/src/components/controls/xhr_image_picker_control/xhr_image_picker_control.js +2 -2
- package/build/cjs/packages/aurora/src/components/radio_group/components/radio_group_item.js +1 -1
- package/build/cjs/packages/aurora/src/components/segmented_control/components/segmented_control_item.js +1 -1
- package/build/cjs/packages/aurora/src/components/sidebar/components/persistent_sidebar.js +1 -4
- package/build/cjs/packages/aurora/src/components/sidebar/components/persistent_sidebar.js.map +1 -1
- package/build/cjs/packages/aurora/src/index.js +16 -8
- package/build/cjs/packages/aurora/src/index.js.map +1 -1
- package/build/cjs/packages/aurora/tailwind.config.js +1 -0
- package/build/cjs/packages/aurora/tailwind.config.js.map +1 -1
- package/build/esm/packages/aurora/src/components/anchor_presets/anchor_button.d.ts +3 -0
- package/build/esm/packages/aurora/src/components/anchor_presets/anchor_button.js +19 -0
- package/build/esm/packages/aurora/src/components/anchor_presets/anchor_button.js.map +1 -0
- package/build/esm/packages/aurora/src/components/anchor_presets/anchor_presets.d.ts +3 -0
- package/build/esm/packages/aurora/src/components/anchor_presets/anchor_presets.js +25 -0
- package/build/esm/packages/aurora/src/components/anchor_presets/anchor_presets.js.map +1 -0
- package/build/esm/packages/aurora/src/components/anchor_presets/anchor_presets_constants.d.ts +11 -0
- package/build/esm/packages/aurora/src/components/anchor_presets/anchor_presets_constants.js +14 -0
- package/build/esm/packages/aurora/src/components/anchor_presets/anchor_presets_constants.js.map +1 -0
- package/build/esm/packages/aurora/src/components/anchor_presets/anchor_presets_types.d.ts +14 -0
- package/build/esm/packages/aurora/src/components/anchor_presets/anchor_presets_types.js +2 -0
- package/build/esm/packages/aurora/src/components/anchor_presets/anchor_presets_types.js.map +1 -0
- package/build/esm/packages/aurora/src/components/color_picker/components/pure_color_picker.js +1 -1
- package/build/esm/packages/aurora/src/components/controls/anchor_presets_control/anchor_presets_control.d.ts +3 -0
- package/build/esm/packages/aurora/src/components/controls/anchor_presets_control/anchor_presets_control.js +37 -0
- package/build/esm/packages/aurora/src/components/controls/anchor_presets_control/anchor_presets_control.js.map +1 -0
- package/build/esm/packages/aurora/src/components/controls/anchor_presets_control/anchor_presets_control_types.d.ts +8 -0
- package/build/esm/packages/aurora/src/components/controls/anchor_presets_control/anchor_presets_control_types.js +3 -0
- package/build/esm/packages/aurora/src/components/controls/anchor_presets_control/anchor_presets_control_types.js.map +1 -0
- package/build/esm/packages/aurora/src/components/controls/checkbox_control/checkbox_control.js +3 -3
- package/build/esm/packages/aurora/src/components/controls/color_picker_control/color_picker_control.js +3 -3
- package/build/esm/packages/aurora/src/components/controls/input_control/input_control.js +3 -3
- package/build/esm/packages/aurora/src/components/controls/multiselect_control/multiselect_control.js +3 -3
- package/build/esm/packages/aurora/src/components/controls/radio_group_control/radio_group_control.js +3 -3
- package/build/esm/packages/aurora/src/components/controls/segmented_control_control/segmented_control_control.d.ts +3 -0
- package/build/esm/packages/aurora/src/components/controls/segmented_control_control/segmented_control_control.js +56 -0
- package/build/esm/packages/aurora/src/components/controls/segmented_control_control/segmented_control_control.js.map +1 -0
- package/build/esm/packages/aurora/src/components/controls/segmented_control_control/segmented_control_control_types.d.ts +11 -0
- package/build/esm/packages/aurora/src/components/controls/segmented_control_control/segmented_control_control_types.js +3 -0
- package/build/esm/packages/aurora/src/components/controls/segmented_control_control/segmented_control_control_types.js.map +1 -0
- package/build/esm/packages/aurora/src/components/controls/select_control/select_control.js +3 -3
- package/build/esm/packages/aurora/src/components/controls/switch_control/switch_control.js +3 -3
- package/build/esm/packages/aurora/src/components/controls/text_area_control/text_area_control.js +3 -3
- package/build/esm/packages/aurora/src/components/controls/values_syncer_control/values_syncer_control.js +3 -3
- package/build/esm/packages/aurora/src/components/controls/xhr_image_picker_control/xhr_image_picker_control.js +2 -2
- package/build/esm/packages/aurora/src/components/radio_group/components/radio_group_item.js +1 -1
- package/build/esm/packages/aurora/src/components/segmented_control/components/segmented_control_item.d.ts +1 -2
- package/build/esm/packages/aurora/src/components/segmented_control/components/segmented_control_item.js +1 -1
- package/build/esm/packages/aurora/src/components/segmented_control/segmented_control.d.ts +1 -2
- package/build/esm/packages/aurora/src/components/segmented_control/segmented_control_type.d.ts +9 -0
- package/build/esm/packages/aurora/src/components/segmented_control/segmented_control_type.js +5 -0
- package/build/esm/packages/aurora/src/components/segmented_control/segmented_control_type.js.map +1 -1
- package/build/esm/packages/aurora/src/components/sidebar/components/persistent_sidebar.d.ts +0 -1
- package/build/esm/packages/aurora/src/components/sidebar/components/persistent_sidebar.js +1 -4
- package/build/esm/packages/aurora/src/components/sidebar/components/persistent_sidebar.js.map +1 -1
- package/build/esm/packages/aurora/src/components/sidebar/components/sidebar_components_types.d.ts +0 -1
- package/build/esm/packages/aurora/src/index.d.ts +4 -0
- package/build/esm/packages/aurora/src/index.js +8 -4
- package/build/esm/packages/aurora/src/index.js.map +1 -1
- package/build/esm/packages/aurora/tailwind.config.js +1 -0
- package/build/esm/packages/aurora/tailwind.config.js.map +1 -1
- package/build/index.css +1 -1
- package/build/tailwind.config.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const ANCHOR_PRESETS_VALUES: {
|
|
2
|
+
readonly topLeft: "top-left";
|
|
3
|
+
readonly topCenter: "top-center";
|
|
4
|
+
readonly topRight: "top-right";
|
|
5
|
+
readonly middleLeft: "middle-left";
|
|
6
|
+
readonly center: "center";
|
|
7
|
+
readonly middleRight: "middle-right";
|
|
8
|
+
readonly bottomLeft: "bottom-left";
|
|
9
|
+
readonly bottomCenter: "bottom-center";
|
|
10
|
+
readonly bottomRight: "bottom-right";
|
|
11
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
var ANCHOR_PRESETS_VALUES = {
|
|
2
|
+
topLeft: 'top-left',
|
|
3
|
+
topCenter: 'top-center',
|
|
4
|
+
topRight: 'top-right',
|
|
5
|
+
middleLeft: 'middle-left',
|
|
6
|
+
center: 'center',
|
|
7
|
+
middleRight: 'middle-right',
|
|
8
|
+
bottomLeft: 'bottom-left',
|
|
9
|
+
bottomCenter: 'bottom-center',
|
|
10
|
+
bottomRight: 'bottom-right'
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export { ANCHOR_PRESETS_VALUES };
|
|
14
|
+
//# sourceMappingURL=anchor_presets_constants.js.map
|
package/build/esm/packages/aurora/src/components/anchor_presets/anchor_presets_constants.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ANCHOR_PRESETS_VALUES } from "./anchor_presets_constants";
|
|
2
|
+
export declare type TAnchorPresetsValue = typeof ANCHOR_PRESETS_VALUES[keyof typeof ANCHOR_PRESETS_VALUES];
|
|
3
|
+
export declare type TAnchorPresetsProps = {
|
|
4
|
+
value: TAnchorPresetsValue;
|
|
5
|
+
onChange: (val: TAnchorPresetsValue) => void;
|
|
6
|
+
className?: string;
|
|
7
|
+
buttonClassName?: string;
|
|
8
|
+
};
|
|
9
|
+
export declare type TAnchorButtonProps = {
|
|
10
|
+
position: TAnchorPresetsValue;
|
|
11
|
+
className?: string;
|
|
12
|
+
selected: boolean;
|
|
13
|
+
onChange: (val: TAnchorPresetsValue) => void;
|
|
14
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"anchor_presets_types.js","sourceRoot":"","sources":["../../../../../../../src/components/anchor_presets/anchor_presets_types.ts"],"names":[],"mappings":"AAAA,OAAsC,2DAA2D,CAAC"}
|
package/build/esm/packages/aurora/src/components/color_picker/components/pure_color_picker.js
CHANGED
|
@@ -50,7 +50,7 @@ var ColorPickerPure = function ColorPickerPure(_ref) {
|
|
|
50
50
|
size: "big"
|
|
51
51
|
})
|
|
52
52
|
})), children), /*#__PURE__*/React.createElement(PopoverContent, _objectSpread2({
|
|
53
|
-
className: cn('aurora-rounded-16 aurora-overflow-hidden js__aurora-color-picker', className)
|
|
53
|
+
className: cn('aurora-rounded-16 aurora-overflow-hidden aurora-z-[99999] js__aurora-color-picker', className)
|
|
54
54
|
}, rest), /*#__PURE__*/React.createElement(ColorPickerContent, null)));
|
|
55
55
|
};
|
|
56
56
|
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Stack } from '../../stack/stack.js';
|
|
3
|
+
import { Control } from '../../control/control.js';
|
|
4
|
+
import { ErrorList } from '../../error_list/error_list.js';
|
|
5
|
+
import { HelperText } from '../../helper_text/helper_text.js';
|
|
6
|
+
import { Label } from '../../label/label.js';
|
|
7
|
+
import { AnchorPresets } from '../../anchor_presets/anchor_presets.js';
|
|
8
|
+
|
|
9
|
+
var AnchorPresetsControl = function AnchorPresetsControl(_ref) {
|
|
10
|
+
var label = _ref.label,
|
|
11
|
+
value = _ref.value,
|
|
12
|
+
tooltip = _ref.tooltip,
|
|
13
|
+
helperText = _ref.helperText,
|
|
14
|
+
errors = _ref.errors,
|
|
15
|
+
onChange = _ref.onChange,
|
|
16
|
+
className = _ref.className,
|
|
17
|
+
buttonClassName = _ref.buttonClassName;
|
|
18
|
+
return /*#__PURE__*/React.createElement(Control, {
|
|
19
|
+
classname: "aurora-flex-col aurora-gap-3"
|
|
20
|
+
}, /*#__PURE__*/React.createElement(Stack, {
|
|
21
|
+
spacing: "0.5",
|
|
22
|
+
direction: "column"
|
|
23
|
+
}, label ? (/*#__PURE__*/React.createElement(Label, {
|
|
24
|
+
tooltip: tooltip,
|
|
25
|
+
className: "aurora-text"
|
|
26
|
+
}, label)) : null, helperText ? /*#__PURE__*/React.createElement(HelperText, null, helperText) : null), /*#__PURE__*/React.createElement(AnchorPresets, {
|
|
27
|
+
value: value,
|
|
28
|
+
onChange: onChange,
|
|
29
|
+
className: className,
|
|
30
|
+
buttonClassName: buttonClassName
|
|
31
|
+
}), errors ? /*#__PURE__*/React.createElement(ErrorList, {
|
|
32
|
+
errors: errors
|
|
33
|
+
}) : null);
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
export { AnchorPresetsControl };
|
|
37
|
+
//# sourceMappingURL=anchor_presets_control.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TAnchorPresetsProps } from "../../anchor_presets/anchor_presets_types";
|
|
3
|
+
export declare type TAnchorPresetsControlProps = TAnchorPresetsProps & {
|
|
4
|
+
label?: string | React.ReactNode;
|
|
5
|
+
tooltip?: string | React.ReactNode;
|
|
6
|
+
helperText?: string | React.ReactNode;
|
|
7
|
+
errors?: string | string[];
|
|
8
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"anchor_presets_control_types.js","sourceRoot":"","sources":["../../../../../../../../src/components/controls/anchor_presets_control/anchor_presets_control_types.ts"],"names":[],"mappings":"AAAA,OAAkB,OAAO,CAAC;AAE1B,OAAoC,uDAAuD,CAAC"}
|
package/build/esm/packages/aurora/src/components/controls/checkbox_control/checkbox_control.js
CHANGED
|
@@ -3,10 +3,10 @@ import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _
|
|
|
3
3
|
import { CSS_TEXT_COLOR_TOKENS } from '../../../constants/css_tokens/css_text_color_tokens.js';
|
|
4
4
|
import { cn } from '../../../utilities/cn.js';
|
|
5
5
|
import { Stack } from '../../stack/stack.js';
|
|
6
|
-
import { Label } from '../../label/label.js';
|
|
7
|
-
import { HelperText } from '../../helper_text/helper_text.js';
|
|
8
|
-
import { ErrorList } from '../../error_list/error_list.js';
|
|
9
6
|
import { Control } from '../../control/control.js';
|
|
7
|
+
import { ErrorList } from '../../error_list/error_list.js';
|
|
8
|
+
import { HelperText } from '../../helper_text/helper_text.js';
|
|
9
|
+
import { Label } from '../../label/label.js';
|
|
10
10
|
import { Checkbox } from '../../checkbox/checkbox.js';
|
|
11
11
|
|
|
12
12
|
var _excluded = ["id", "name", "label", "value", "tooltip", "helperText", "errors", "checked", "disabled", "required", "onCheckedChange"];
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { objectWithoutProperties as _objectWithoutProperties, objectSpread2 as _objectSpread2 } from '../../../../../../_virtual/_rollupPluginBabelHelpers.js';
|
|
3
3
|
import { CSS_TEXT_COLOR_TOKENS } from '../../../constants/css_tokens/css_text_color_tokens.js';
|
|
4
|
-
import { Label } from '../../label/label.js';
|
|
5
|
-
import { HelperText } from '../../helper_text/helper_text.js';
|
|
6
|
-
import { ErrorList } from '../../error_list/error_list.js';
|
|
7
4
|
import { Control } from '../../control/control.js';
|
|
5
|
+
import { ErrorList } from '../../error_list/error_list.js';
|
|
6
|
+
import { HelperText } from '../../helper_text/helper_text.js';
|
|
7
|
+
import { Label } from '../../label/label.js';
|
|
8
8
|
import { ColorPicker } from '../../color_picker/color_picker.js';
|
|
9
9
|
|
|
10
10
|
var _excluded = ["label", "tooltip", "required", "id", "name", "errors", "value", "colorVariables", "onChange", "onCancel", "onSave", "withGradient", "helperText", "disabled"];
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { objectWithoutProperties as _objectWithoutProperties, objectSpread2 as _objectSpread2 } from '../../../../../../_virtual/_rollupPluginBabelHelpers.js';
|
|
3
3
|
import { CSS_TEXT_COLOR_TOKENS } from '../../../constants/css_tokens/css_text_color_tokens.js';
|
|
4
|
-
import { Label } from '../../label/label.js';
|
|
5
|
-
import { HelperText } from '../../helper_text/helper_text.js';
|
|
6
|
-
import { ErrorList } from '../../error_list/error_list.js';
|
|
7
4
|
import { Control } from '../../control/control.js';
|
|
5
|
+
import { ErrorList } from '../../error_list/error_list.js';
|
|
6
|
+
import { HelperText } from '../../helper_text/helper_text.js';
|
|
7
|
+
import { Label } from '../../label/label.js';
|
|
8
8
|
import { Input } from '../../input/input.js';
|
|
9
9
|
|
|
10
10
|
var _excluded = ["id", "name", "label", "helperText", "preElement", "postElement", "errors", "disabled", "defaultValue", "value", "placeholder", "readOnly", "type", "required", "tooltip", "onChange", "onKeyDown", "onKeyUp"];
|
package/build/esm/packages/aurora/src/components/controls/multiselect_control/multiselect_control.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { objectWithoutProperties as _objectWithoutProperties, objectSpread2 as _objectSpread2 } from '../../../../../../_virtual/_rollupPluginBabelHelpers.js';
|
|
3
3
|
import { CSS_TEXT_COLOR_TOKENS } from '../../../constants/css_tokens/css_text_color_tokens.js';
|
|
4
|
-
import { Label } from '../../label/label.js';
|
|
5
|
-
import { HelperText } from '../../helper_text/helper_text.js';
|
|
6
|
-
import { ErrorList } from '../../error_list/error_list.js';
|
|
7
4
|
import { Control } from '../../control/control.js';
|
|
5
|
+
import { ErrorList } from '../../error_list/error_list.js';
|
|
6
|
+
import { HelperText } from '../../helper_text/helper_text.js';
|
|
7
|
+
import { Label } from '../../label/label.js';
|
|
8
8
|
import { MultiSelect } from '../../multiselect/multiselect.js';
|
|
9
9
|
|
|
10
10
|
var _excluded = ["id", "options", "placeholder", "disabled", "label", "helperText", "tooltip", "errors", "onValueChange", "required"];
|
package/build/esm/packages/aurora/src/components/controls/radio_group_control/radio_group_control.js
CHANGED
|
@@ -2,10 +2,10 @@ import React from 'react';
|
|
|
2
2
|
import { objectWithoutProperties as _objectWithoutProperties, objectSpread2 as _objectSpread2 } from '../../../../../../_virtual/_rollupPluginBabelHelpers.js';
|
|
3
3
|
import { CSS_TEXT_COLOR_TOKENS } from '../../../constants/css_tokens/css_text_color_tokens.js';
|
|
4
4
|
import { Stack } from '../../stack/stack.js';
|
|
5
|
-
import { Label } from '../../label/label.js';
|
|
6
|
-
import { HelperText } from '../../helper_text/helper_text.js';
|
|
7
|
-
import { ErrorList } from '../../error_list/error_list.js';
|
|
8
5
|
import { Control } from '../../control/control.js';
|
|
6
|
+
import { ErrorList } from '../../error_list/error_list.js';
|
|
7
|
+
import { HelperText } from '../../helper_text/helper_text.js';
|
|
8
|
+
import { Label } from '../../label/label.js';
|
|
9
9
|
import { RadioGroup } from '../../radio_group/radio_group.js';
|
|
10
10
|
import { RadioGroupItem } from '../../radio_group/components/radio_group_item.js';
|
|
11
11
|
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { objectWithoutProperties as _objectWithoutProperties, objectSpread2 as _objectSpread2 } from '../../../../../../_virtual/_rollupPluginBabelHelpers.js';
|
|
3
|
+
import { CSS_TEXT_COLOR_TOKENS } from '../../../constants/css_tokens/css_text_color_tokens.js';
|
|
4
|
+
import { Stack } from '../../stack/stack.js';
|
|
5
|
+
import { SegmentedControl } from '../../segmented_control/segmented_control.js';
|
|
6
|
+
import { SegmentedControlItem } from '../../segmented_control/components/segmented_control_item.js';
|
|
7
|
+
import { Control } from '../../control/control.js';
|
|
8
|
+
import { ErrorList } from '../../error_list/error_list.js';
|
|
9
|
+
import { HelperText } from '../../helper_text/helper_text.js';
|
|
10
|
+
import { Label } from '../../label/label.js';
|
|
11
|
+
|
|
12
|
+
var _excluded = ["id", "items", "label", "value", "defaultValue", "tooltip", "helperText", "errors", "disabled", "onValueChange"];
|
|
13
|
+
var SegmentedControlControl = function SegmentedControlControl(_ref) {
|
|
14
|
+
var id = _ref.id,
|
|
15
|
+
items = _ref.items,
|
|
16
|
+
label = _ref.label,
|
|
17
|
+
value = _ref.value,
|
|
18
|
+
defaultValue = _ref.defaultValue,
|
|
19
|
+
tooltip = _ref.tooltip,
|
|
20
|
+
helperText = _ref.helperText,
|
|
21
|
+
errors = _ref.errors,
|
|
22
|
+
_ref$disabled = _ref.disabled,
|
|
23
|
+
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
24
|
+
onValueChange = _ref.onValueChange,
|
|
25
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
26
|
+
return /*#__PURE__*/React.createElement(Control, {
|
|
27
|
+
classname: "aurora-flex-col aurora-gap-3"
|
|
28
|
+
}, /*#__PURE__*/React.createElement(Stack, {
|
|
29
|
+
spacing: "0.5",
|
|
30
|
+
direction: "column"
|
|
31
|
+
}, label ? (/*#__PURE__*/React.createElement(Label, {
|
|
32
|
+
htmlFor: id,
|
|
33
|
+
disabled: disabled,
|
|
34
|
+
tooltip: tooltip,
|
|
35
|
+
className: "aurora-text"
|
|
36
|
+
}, label)) : null, helperText ? /*#__PURE__*/React.createElement(HelperText, {
|
|
37
|
+
color: disabled ? CSS_TEXT_COLOR_TOKENS.subtleLight : undefined
|
|
38
|
+
}, helperText) : null), /*#__PURE__*/React.createElement(SegmentedControl, _objectSpread2({
|
|
39
|
+
id: id,
|
|
40
|
+
value: value,
|
|
41
|
+
disabled: disabled,
|
|
42
|
+
onValueChange: onValueChange
|
|
43
|
+
}, rest), items.map(function (item) {
|
|
44
|
+
return /*#__PURE__*/React.createElement(SegmentedControlItem, {
|
|
45
|
+
key: "radio-button-".concat(item.value),
|
|
46
|
+
value: item.value,
|
|
47
|
+
id: item.id,
|
|
48
|
+
disabled: disabled
|
|
49
|
+
}, item.label);
|
|
50
|
+
})), errors ? /*#__PURE__*/React.createElement(ErrorList, {
|
|
51
|
+
errors: errors
|
|
52
|
+
}) : null);
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
export { SegmentedControlControl };
|
|
56
|
+
//# sourceMappingURL=segmented_control_control.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TSegmentedControlItemProps, TSegmentedControlProps } from "../../segmented_control/segmented_control_type";
|
|
3
|
+
export declare type TSegmentedControlControlProps = TSegmentedControlProps & {
|
|
4
|
+
items: (Omit<TSegmentedControlItemProps, 'children'> & {
|
|
5
|
+
label: string;
|
|
6
|
+
})[];
|
|
7
|
+
label?: string | React.ReactNode;
|
|
8
|
+
tooltip?: string | React.ReactNode;
|
|
9
|
+
helperText?: string | React.ReactNode;
|
|
10
|
+
errors?: string | string[];
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"segmented_control_control_types.js","sourceRoot":"","sources":["../../../../../../../../src/components/controls/segmented_control_control/segmented_control_control_types.ts"],"names":[],"mappings":"AAAA,OAAkB,OAAO,CAAC;AAE1B,OAAmE,4DAA4D,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { objectWithoutProperties as _objectWithoutProperties, objectSpread2 as _objectSpread2 } from '../../../../../../_virtual/_rollupPluginBabelHelpers.js';
|
|
3
3
|
import { CSS_TEXT_COLOR_TOKENS } from '../../../constants/css_tokens/css_text_color_tokens.js';
|
|
4
|
-
import { Label } from '../../label/label.js';
|
|
5
|
-
import { HelperText } from '../../helper_text/helper_text.js';
|
|
6
|
-
import { ErrorList } from '../../error_list/error_list.js';
|
|
7
4
|
import { Control } from '../../control/control.js';
|
|
5
|
+
import { ErrorList } from '../../error_list/error_list.js';
|
|
6
|
+
import { HelperText } from '../../helper_text/helper_text.js';
|
|
7
|
+
import { Label } from '../../label/label.js';
|
|
8
8
|
import { Select } from '../../select/select.js';
|
|
9
9
|
|
|
10
10
|
var _excluded = ["options", "id", "name", "label", "helperText", "tooltip", "placeholder", "searchPlaceholder", "hasSearch", "hasClearValueButton", "errors", "disabled", "value", "onValueChange", "onScroll", "innerAdditionalContent", "required"];
|
|
@@ -3,11 +3,11 @@ import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _
|
|
|
3
3
|
import { CSS_TEXT_COLOR_TOKENS } from '../../../constants/css_tokens/css_text_color_tokens.js';
|
|
4
4
|
import { cn } from '../../../utilities/cn.js';
|
|
5
5
|
import { Stack } from '../../stack/stack.js';
|
|
6
|
-
import {
|
|
7
|
-
import { HelperText } from '../../helper_text/helper_text.js';
|
|
6
|
+
import { Control } from '../../control/control.js';
|
|
8
7
|
import { ErrorList } from '../../error_list/error_list.js';
|
|
8
|
+
import { HelperText } from '../../helper_text/helper_text.js';
|
|
9
|
+
import { Label } from '../../label/label.js';
|
|
9
10
|
import { Switch } from '../../switch/switch.js';
|
|
10
|
-
import { Control } from '../../control/control.js';
|
|
11
11
|
|
|
12
12
|
var _excluded = ["id", "name", "errors", "label", "value", "tooltip", "helperText", "checked", "defaultChecked", "disabled", "required", "onCheckedChange"];
|
|
13
13
|
var SwitchControl = function SwitchControl(_ref) {
|
package/build/esm/packages/aurora/src/components/controls/text_area_control/text_area_control.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { objectWithoutProperties as _objectWithoutProperties, objectSpread2 as _objectSpread2 } from '../../../../../../_virtual/_rollupPluginBabelHelpers.js';
|
|
3
3
|
import { CSS_TEXT_COLOR_TOKENS } from '../../../constants/css_tokens/css_text_color_tokens.js';
|
|
4
|
-
import { Label } from '../../label/label.js';
|
|
5
|
-
import { HelperText } from '../../helper_text/helper_text.js';
|
|
6
|
-
import { ErrorList } from '../../error_list/error_list.js';
|
|
7
4
|
import { Control } from '../../control/control.js';
|
|
5
|
+
import { ErrorList } from '../../error_list/error_list.js';
|
|
6
|
+
import { HelperText } from '../../helper_text/helper_text.js';
|
|
7
|
+
import { Label } from '../../label/label.js';
|
|
8
8
|
import { TextArea } from '../../text_area/text_area.js';
|
|
9
9
|
|
|
10
10
|
var _excluded = ["id", "name", "label", "errors", "placeholder", "disabled", "readOnly", "value", "helperText", "required", "tooltip", "onChange"];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { CSS_TEXT_COLOR_TOKENS } from '../../../constants/css_tokens/css_text_color_tokens.js';
|
|
3
|
-
import { Label } from '../../label/label.js';
|
|
4
|
-
import { HelperText } from '../../helper_text/helper_text.js';
|
|
5
|
-
import { ErrorList } from '../../error_list/error_list.js';
|
|
6
3
|
import { Control } from '../../control/control.js';
|
|
4
|
+
import { ErrorList } from '../../error_list/error_list.js';
|
|
5
|
+
import { HelperText } from '../../helper_text/helper_text.js';
|
|
6
|
+
import { Label } from '../../label/label.js';
|
|
7
7
|
import { ValuesSyncer } from '../../values_syncer/values_syncer.js';
|
|
8
8
|
|
|
9
9
|
var ValuesSyncerControl = function ValuesSyncerControl(_ref) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, { useState } from 'react';
|
|
2
2
|
import { slicedToArray as _slicedToArray } from '../../../../../../_virtual/_rollupPluginBabelHelpers.js';
|
|
3
|
-
import { Label } from '../../label/label.js';
|
|
4
|
-
import { HelperText } from '../../helper_text/helper_text.js';
|
|
5
3
|
import { Control } from '../../control/control.js';
|
|
4
|
+
import { HelperText } from '../../helper_text/helper_text.js';
|
|
5
|
+
import { Label } from '../../label/label.js';
|
|
6
6
|
import { XhrImagePicker } from '../../xhr_image_picker/xhr_image_picker.js';
|
|
7
7
|
|
|
8
8
|
var XhrImagePickerControl = function XhrImagePickerControl(_ref) {
|
|
@@ -3,8 +3,8 @@ import { objectWithoutProperties as _objectWithoutProperties, objectSpread2 as _
|
|
|
3
3
|
import { CSS_TEXT_COLOR_TOKENS } from '../../../constants/css_tokens/css_text_color_tokens.js';
|
|
4
4
|
import { cn } from '../../../utilities/cn.js';
|
|
5
5
|
import { Stack } from '../../stack/stack.js';
|
|
6
|
-
import { Label } from '../../label/label.js';
|
|
7
6
|
import { HelperText } from '../../helper_text/helper_text.js';
|
|
7
|
+
import { Label } from '../../label/label.js';
|
|
8
8
|
import { Item, Indicator } from '@radix-ui/react-radio-group';
|
|
9
9
|
import { CircleFillIcon } from '../../../assets/icons/circle_icon.js';
|
|
10
10
|
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
3
|
-
|
|
4
|
-
export declare const SegmentedControlItem: React.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
3
|
+
export declare const SegmentedControlItem: React.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & import("class-variance-authority").VariantProps<(props?: ({
|
|
5
4
|
size?: "s" | "basic" | null | undefined;
|
|
6
5
|
variant?: "basic" | "icon-only" | null | undefined;
|
|
7
6
|
type?: "single" | null | undefined;
|
|
@@ -16,7 +16,7 @@ var SegmentedControlItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
16
16
|
var context = React.useContext(SegmentedControlContext);
|
|
17
17
|
return /*#__PURE__*/React.createElement(Item, _objectSpread2({
|
|
18
18
|
ref: ref,
|
|
19
|
-
className: cn("[&:not(:last-child)]:after:aurora-content-[''] focus last:aurora-rounded-r-4 first:aurora-rounded-l-4 [&:not(:last-child)]:after:aurora-absolute [&:not(:last-child)]:after:aurora-block [&:not(:last-child)]:after:aurora-w-px [&:not(:last-child)]:after:aurora-bg-active [&:not(:last-child)]:after:aurora--right-px [&:not(:last-child)]:after:aurora-h-3/6\n aurora-relative aurora-flex aurora-item aurora-basis-full aurora-items-center aurora-justify-center aurora-gap-2 hover:aurora-bg-active aurora-cursor-pointer aurora-transition-[background-color] aurora-duration-300\n data-[state=on]:aurora-bg data-[state=on]:aurora-font-semibold\n data-[state=on]:before:aurora-content-[''] data-[state=on]:before:aurora-block data-[state=on]:before:aurora-absolute data-[state=on]:before:aurora--left-px data-[state=on]:before:aurora--right-px data-[state=on]:before:aurora--top-px data-[state=on]:before:aurora--bottom-px data-[state=on]:before:aurora-border-active data-[state=on]:before:aurora-border-2 data-[state=on]:before:aurora-rounded-4 data-[state=on]:before:aurora-z-10\n [&[data-state=off]_svg]:!aurora-fill-
|
|
19
|
+
className: cn("[&:not(:last-child)]:after:aurora-content-[''] focus last:aurora-rounded-r-4 first:aurora-rounded-l-4 [&:not(:last-child)]:after:aurora-absolute [&:not(:last-child)]:after:aurora-block [&:not(:last-child)]:after:aurora-w-px [&:not(:last-child)]:after:aurora-bg-active [&:not(:last-child)]:after:aurora--right-px [&:not(:last-child)]:after:aurora-h-3/6\n aurora-relative aurora-flex aurora-item aurora-basis-full aurora-items-center aurora-justify-center aurora-gap-2 hover:aurora-bg-active aurora-cursor-pointer aurora-transition-[background-color] aurora-duration-300\n data-[state=on]:aurora-bg data-[state=on]:aurora-font-semibold\n data-[state=on]:before:aurora-content-[''] data-[state=on]:before:aurora-block data-[state=on]:before:aurora-absolute data-[state=on]:before:aurora--left-px data-[state=on]:before:aurora--right-px data-[state=on]:before:aurora--top-px data-[state=on]:before:aurora--bottom-px data-[state=on]:before:aurora-border-active data-[state=on]:before:aurora-border-2 data-[state=on]:before:aurora-rounded-4 data-[state=on]:before:aurora-z-10\n [&[data-state=off]_svg]:!aurora-fill aurora-whitespace-nowrap", segmentedControlItemVariants({
|
|
20
20
|
size: (_context$size = context.size) !== null && _context$size !== void 0 ? _context$size : size,
|
|
21
21
|
variant: (_context$variant = context.variant) !== null && _context$variant !== void 0 ? _context$variant : variant
|
|
22
22
|
}), className)
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
3
|
-
|
|
4
|
-
export declare const SegmentedControl: React.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupSingleProps, "type"> & VariantProps<(props?: ({
|
|
3
|
+
export declare const SegmentedControl: React.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupSingleProps, "type"> & import("class-variance-authority").VariantProps<(props?: ({
|
|
5
4
|
size?: "s" | "basic" | null | undefined;
|
|
6
5
|
variant?: "basic" | "icon-only" | null | undefined;
|
|
7
6
|
type?: "single" | null | undefined;
|
package/build/esm/packages/aurora/src/components/segmented_control/segmented_control_type.d.ts
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
1
|
import { SEGMENTED_CONTROL_TYPE } from "./segmented_control_constants";
|
|
2
2
|
import { Any } from 'ts-toolbelt';
|
|
3
|
+
import React, { ComponentType } from 'react';
|
|
4
|
+
import { ToggleGroupSingleProps } from '@radix-ui/react-toggle-group';
|
|
5
|
+
import { VariantProps } from 'class-variance-authority';
|
|
6
|
+
import { segmentedControlItemVariants } from "./components/segmented_control_item_variants";
|
|
7
|
+
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
3
8
|
export declare type TSegmentedControlType = Any.Keys<typeof SEGMENTED_CONTROL_TYPE>;
|
|
9
|
+
export declare type TSegmentedControlProps = Omit<React.ComponentPropsWithoutRef<ComponentType<ToggleGroupSingleProps>>, 'type'> & VariantProps<typeof segmentedControlItemVariants> & {
|
|
10
|
+
type?: TSegmentedControlType;
|
|
11
|
+
};
|
|
12
|
+
export declare type TSegmentedControlItemProps = React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof segmentedControlItemVariants>;
|
package/build/esm/packages/aurora/src/components/segmented_control/segmented_control_type.js
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
1
|
import '@auroraComponents/segmented_control/segmented_control_constants';
|
|
2
2
|
import 'ts-toolbelt';
|
|
3
|
+
import 'react';
|
|
4
|
+
import '@radix-ui/react-toggle-group';
|
|
5
|
+
import 'class-variance-authority';
|
|
6
|
+
import '@auroraComponents/segmented_control/components/segmented_control_item_variants';
|
|
7
|
+
import '@radix-ui/react-toggle-group';
|
|
3
8
|
//# sourceMappingURL=segmented_control_type.js.map
|
package/build/esm/packages/aurora/src/components/segmented_control/segmented_control_type.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"segmented_control_type.js","sourceRoot":"","sources":["../../../../../../../src/components/segmented_control/segmented_control_type.ts"],"names":[],"mappings":"AAAA,OAAuC,iEAAiE,CAAC;AACzG,OAAoB,aAAa,CAAC"}
|
|
1
|
+
{"version":3,"file":"segmented_control_type.js","sourceRoot":"","sources":["../../../../../../../src/components/segmented_control/segmented_control_type.ts"],"names":[],"mappings":"AAAA,OAAuC,iEAAiE,CAAC;AACzG,OAAoB,aAAa,CAAC;AAClC,OAAqC,OAAO,CAAC;AAC7C,OAAuC,8BAA8B,CAAC;AACtE,OAA6B,0BAA0B,CAAC;AACxD,OAA6C,gFAAgF,CAAC;AAC9H,OAAsC,8BAA8B,CAAC"}
|
|
@@ -5,5 +5,4 @@ export declare const PersistentSidebar: React.ForwardRefExoticComponent<Omit<Rea
|
|
|
5
5
|
side?: "left" | "right" | undefined;
|
|
6
6
|
TriggerButton?: React.ReactNode;
|
|
7
7
|
onClickOutside?: import("../sidebar_types_types").TSidebarOnClickOutside | undefined;
|
|
8
|
-
closeOnOutsideClick?: boolean | undefined;
|
|
9
8
|
}, "ref"> & React.RefAttributes<HTMLDivElement | null>>;
|
|
@@ -4,7 +4,7 @@ import { cn } from '../../../utilities/cn.js';
|
|
|
4
4
|
import { useClickOutside } from '../../../hooks/use_click_outside.js';
|
|
5
5
|
import { useSidebar } from '../hooks/use_sidebar.js';
|
|
6
6
|
|
|
7
|
-
var _excluded = ["className", "width", "children", "TriggerButton", "side", "onScroll", "onClickOutside"
|
|
7
|
+
var _excluded = ["className", "width", "children", "TriggerButton", "side", "onScroll", "onClickOutside"];
|
|
8
8
|
var PersistentSidebar = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9
9
|
var className = _ref.className,
|
|
10
10
|
width = _ref.width,
|
|
@@ -13,8 +13,6 @@ var PersistentSidebar = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
13
13
|
side = _ref.side,
|
|
14
14
|
onScroll = _ref.onScroll,
|
|
15
15
|
onClickOutside = _ref.onClickOutside,
|
|
16
|
-
_ref$closeOnOutsideCl = _ref.closeOnOutsideClick,
|
|
17
|
-
closeOnOutsideClick = _ref$closeOnOutsideCl === void 0 ? false : _ref$closeOnOutsideCl,
|
|
18
16
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
19
17
|
var _useSidebar = useSidebar(),
|
|
20
18
|
open = _useSidebar.open,
|
|
@@ -35,7 +33,6 @@ var PersistentSidebar = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
35
33
|
toggle: toggle,
|
|
36
34
|
close: close
|
|
37
35
|
});
|
|
38
|
-
if (closeOnOutsideClick && open) close();
|
|
39
36
|
},
|
|
40
37
|
config: config
|
|
41
38
|
});
|
package/build/esm/packages/aurora/src/components/sidebar/components/persistent_sidebar.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
package/build/esm/packages/aurora/src/components/sidebar/components/sidebar_components_types.d.ts
CHANGED
|
@@ -6,7 +6,6 @@ export declare type TPersistentSidebarProps = {
|
|
|
6
6
|
side?: TSidebarSide;
|
|
7
7
|
TriggerButton?: React.ReactNode;
|
|
8
8
|
onClickOutside?: TSidebarOnClickOutside;
|
|
9
|
-
closeOnOutsideClick?: boolean;
|
|
10
9
|
} & React.HTMLAttributes<HTMLDivElement>;
|
|
11
10
|
export declare type TTemporalSidebar = React.PropsWithoutRef<{
|
|
12
11
|
width?: string;
|
|
@@ -43,6 +43,7 @@ export { TOOLTIP_VARIANT_TYPES } from "./components/tooltip/tooltip_constants";
|
|
|
43
43
|
export { SegmentedControl } from "./components/segmented_control/segmented_control";
|
|
44
44
|
export { SegmentedControlItem } from "./components/segmented_control/components/segmented_control_item";
|
|
45
45
|
export { SEGMENTED_CONTROL_SIZE_TYPES, SEGMENTED_CONTROL_VARIANT_TYPES, SEGMENTED_CONTROL_TYPE } from "./components/segmented_control/segmented_control_constants";
|
|
46
|
+
export { SegmentedControlControl } from './components/controls/segmented_control_control/segmented_control_control';
|
|
46
47
|
export { Button } from "./components/button/button";
|
|
47
48
|
export { BUTTON_VARIANTS, BUTTON_SIZES } from "./components/button/button_constants";
|
|
48
49
|
export { IconButton } from "./components/icon_button/icon_button";
|
|
@@ -128,3 +129,6 @@ export { ToastProvider } from "./components/toast/context/toast_provider";
|
|
|
128
129
|
export { ToastViewport } from "./components/toast/components/toast_viewport";
|
|
129
130
|
export { TOAST_TYPES, TOASTS_SIDE, TOAST_SLIDE_SIDE } from "./components/toast/toast_constants";
|
|
130
131
|
export { TToastType } from "./components/toast/components/toast_components_types";
|
|
132
|
+
export { AnchorPresets } from "./components/anchor_presets/anchor_presets";
|
|
133
|
+
export { AnchorPresetsControl } from "./components/controls/anchor_presets_control/anchor_presets_control";
|
|
134
|
+
export { ANCHOR_PRESETS_VALUES } from "./components/anchor_presets/anchor_presets_constants";
|
|
@@ -59,6 +59,11 @@ export { TooltipProvider } from './components/tooltip/context/tooltip_provider.j
|
|
|
59
59
|
export { SEGMENTED_CONTROL_SIZE_TYPES, SEGMENTED_CONTROL_TYPE, SEGMENTED_CONTROL_VARIANT_TYPES } from './components/segmented_control/segmented_control_constants.js';
|
|
60
60
|
export { SegmentedControl } from './components/segmented_control/segmented_control.js';
|
|
61
61
|
export { SegmentedControlItem } from './components/segmented_control/components/segmented_control_item.js';
|
|
62
|
+
export { Control } from './components/control/control.js';
|
|
63
|
+
export { ErrorList } from './components/error_list/error_list.js';
|
|
64
|
+
export { HelperText } from './components/helper_text/helper_text.js';
|
|
65
|
+
export { Label } from './components/label/label.js';
|
|
66
|
+
export { SegmentedControlControl } from './components/controls/segmented_control_control/segmented_control_control.js';
|
|
62
67
|
export { BUTTON_SIZES, BUTTON_VARIANTS } from './components/button/button_constants.js';
|
|
63
68
|
export { Button } from './components/button/button.js';
|
|
64
69
|
export { IconButton } from './components/icon_button/icon_button.js';
|
|
@@ -71,7 +76,6 @@ export { TabsTrigger } from './components/tabs/components/tabs_trigger.js';
|
|
|
71
76
|
export { TabsContent } from './components/tabs/components/tabs_content.js';
|
|
72
77
|
export { Popover } from './components/popover/popover.js';
|
|
73
78
|
export { PopoverTrigger } from './components/popover/components/popover_trigger.js';
|
|
74
|
-
export { Label } from './components/label/label.js';
|
|
75
79
|
export { LINK_DECORATION_TYPES, LINK_SIZE_TYPES, LINK_VARIANT_TYPES } from './components/link/link_constants.js';
|
|
76
80
|
export { Link } from './components/link/link.js';
|
|
77
81
|
export { useModalsContext } from './components/modal/hooks/use_modals_context.js';
|
|
@@ -79,13 +83,10 @@ export { Modal } from './components/modal/components/modal/modal.js';
|
|
|
79
83
|
export { ModalsManager } from './components/modal/modals_manager.js';
|
|
80
84
|
export { MESSAGE_BOX_ICONS, MESSAGE_BOX_ICON_COLORS, MESSAGE_BOX_VARIANTS } from './components/message_box/message_box_constants.js';
|
|
81
85
|
export { MessageBox } from './components/message_box/message_box.js';
|
|
82
|
-
export { HelperText } from './components/helper_text/helper_text.js';
|
|
83
|
-
export { ErrorList } from './components/error_list/error_list.js';
|
|
84
86
|
export { useSearch } from './hooks/search/use_search.js';
|
|
85
87
|
export { TAG_VARIANTS } from './components/tag/tag_constants.js';
|
|
86
88
|
export { Tag } from './components/tag/tag.js';
|
|
87
89
|
export { Switch } from './components/switch/switch.js';
|
|
88
|
-
export { Control } from './components/control/control.js';
|
|
89
90
|
export { SwitchControl } from './components/controls/switch_control/switch_control.js';
|
|
90
91
|
export { Input } from './components/input/input.js';
|
|
91
92
|
export { InputControl } from './components/controls/input_control/input_control.js';
|
|
@@ -120,4 +121,7 @@ export { TOASTS_SIDE, TOAST_SLIDE_SIDE, TOAST_TYPES } from './components/toast/t
|
|
|
120
121
|
export { Toast } from './components/toast/components/toast.js';
|
|
121
122
|
export { ToastProvider } from './components/toast/context/toast_provider.js';
|
|
122
123
|
export { ToastViewport } from './components/toast/components/toast_viewport.js';
|
|
124
|
+
export { ANCHOR_PRESETS_VALUES } from './components/anchor_presets/anchor_presets_constants.js';
|
|
125
|
+
export { AnchorPresets } from './components/anchor_presets/anchor_presets.js';
|
|
126
|
+
export { AnchorPresetsControl } from './components/controls/anchor_presets_control/anchor_presets_control.js';
|
|
123
127
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
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;"}
|
|
@@ -226,6 +226,7 @@ var tailwind_config = {
|
|
|
226
226
|
'inverse-subtle': 'var(--a-light-transparent-5)',
|
|
227
227
|
'inverse-strong': 'var(--a-light-transparent-15)',
|
|
228
228
|
'inverse-active': 'var(--a-neutral-0)',
|
|
229
|
+
'primary-action-hover': 'var(--a-brand-300)',
|
|
229
230
|
danger: 'var(--a-red-500)',
|
|
230
231
|
'danger-hover': 'var(--a-red-600)',
|
|
231
232
|
'danger-active': 'var(--a-red-700)',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA,+BAA+B,6CAAiD;AAChF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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,+BAA+B,6CAAiD;AAChF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|