glints-aries 4.0.239 → 4.0.241
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 +20 -1
- package/es/@next/Alert/AlertStyle.js +1 -1
- package/es/@next/Avatar/AvatarStyle.js +1 -1
- package/es/@next/Badge/BadgeStyle.js +1 -1
- package/es/@next/Banner/BannerStyle.js +1 -1
- package/es/@next/Input/InputStyle.d.ts +1 -2
- package/es/@next/Input/InputStyle.js +3 -1
- package/es/@next/Menu/components/MenuOption.js +5 -6
- package/es/@next/Select/Select.d.ts +4 -2
- package/es/@next/Select/Select.js +68 -45
- package/es/@next/Select/Select.stories.d.ts +1 -0
- package/es/@next/Select/components/Activator/ActivatorSelect.d.ts +5 -2
- package/es/@next/Select/components/Activator/ActivatorSelect.js +9 -10
- package/es/@next/Select/components/Activator/ActivatorTextInput.d.ts +16 -2
- package/es/@next/Select/components/Activator/ActivatorTextInput.js +57 -13
- package/es/@next/Select/components/OptionList/OptionList.d.ts +6 -2
- package/es/@next/Select/components/OptionList/OptionList.js +20 -7
- package/es/@next/Select/components/SearchableSelectInput/ClearSelected.d.ts +9 -0
- package/es/@next/Select/components/SearchableSelectInput/ClearSelected.js +22 -0
- package/es/@next/Select/components/SearchableSelectInput/SearchableSelectInput.d.ts +36 -0
- package/es/@next/Select/components/SearchableSelectInput/SearchableSelectInput.js +121 -0
- package/es/@next/Select/components/SearchableSelectInput/SearchableSelectInputStyle.d.ts +4 -0
- package/es/@next/Select/components/SearchableSelectInput/SearchableSelectInputStyle.js +30 -0
- package/es/@next/Select/selectStoryHelper/Searchable.js +2 -25
- package/es/@next/Select/selectStoryHelper/SearchableSingleSelect.d.ts +7 -0
- package/es/@next/Select/selectStoryHelper/SearchableSingleSelect.js +24 -0
- package/es/@next/utilities/colors/orange.d.ts +1 -1
- package/es/@next/utilities/colors/orange.js +1 -1
- package/es/@next/utilities/colors/red.d.ts +2 -2
- package/es/@next/utilities/colors/red.js +2 -2
- package/lib/@next/Alert/AlertStyle.js +1 -1
- package/lib/@next/Avatar/AvatarStyle.js +1 -1
- package/lib/@next/Badge/BadgeStyle.js +1 -1
- package/lib/@next/Banner/BannerStyle.js +1 -1
- package/lib/@next/Input/InputStyle.d.ts +1 -2
- package/lib/@next/Input/InputStyle.js +3 -1
- package/lib/@next/Menu/components/MenuOption.js +5 -6
- package/lib/@next/Select/Select.d.ts +4 -2
- package/lib/@next/Select/Select.js +67 -44
- package/lib/@next/Select/Select.stories.d.ts +1 -0
- package/lib/@next/Select/components/Activator/ActivatorSelect.d.ts +5 -2
- package/lib/@next/Select/components/Activator/ActivatorSelect.js +9 -10
- package/lib/@next/Select/components/Activator/ActivatorTextInput.d.ts +16 -2
- package/lib/@next/Select/components/Activator/ActivatorTextInput.js +56 -12
- package/lib/@next/Select/components/OptionList/OptionList.d.ts +6 -2
- package/lib/@next/Select/components/OptionList/OptionList.js +22 -8
- package/lib/@next/Select/components/SearchableSelectInput/ClearSelected.d.ts +9 -0
- package/lib/@next/Select/components/SearchableSelectInput/ClearSelected.js +28 -0
- package/lib/@next/Select/components/SearchableSelectInput/SearchableSelectInput.d.ts +36 -0
- package/lib/@next/Select/components/SearchableSelectInput/SearchableSelectInput.js +129 -0
- package/lib/@next/Select/components/SearchableSelectInput/SearchableSelectInputStyle.d.ts +4 -0
- package/lib/@next/Select/components/SearchableSelectInput/SearchableSelectInputStyle.js +41 -0
- package/lib/@next/Select/selectStoryHelper/Searchable.js +1 -24
- package/lib/@next/Select/selectStoryHelper/SearchableSingleSelect.d.ts +7 -0
- package/lib/@next/Select/selectStoryHelper/SearchableSingleSelect.js +32 -0
- package/lib/@next/utilities/colors/orange.d.ts +1 -1
- package/lib/@next/utilities/colors/orange.js +3 -3
- package/lib/@next/utilities/colors/red.d.ts +2 -2
- package/lib/@next/utilities/colors/red.js +2 -2
- package/package.json +1 -1
- package/es/@next/Select/components/Activator/ActivatorContext.d.ts +0 -17
- package/es/@next/Select/components/Activator/ActivatorContext.js +0 -17
- package/lib/@next/Select/components/Activator/ActivatorContext.d.ts +0 -17
- package/lib/@next/Select/components/Activator/ActivatorContext.js +0 -25
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const Brand = "#EC272B";
|
|
2
|
-
export declare const B100 = "#
|
|
3
|
-
export declare const B99 = "#
|
|
2
|
+
export declare const B100 = "#FFE5E6";
|
|
3
|
+
export declare const B99 = "#FCCACB";
|
|
4
4
|
export declare const B93 = "#EC272B";
|
|
5
5
|
export declare const B74 = "#BD3638";
|
|
6
6
|
export declare const B65 = "#8F393B";
|
|
@@ -4,9 +4,9 @@ exports.__esModule = true;
|
|
|
4
4
|
exports.Brand = exports.B99 = exports.B93 = exports.B74 = exports.B65 = exports.B100 = void 0;
|
|
5
5
|
var Brand = '#EC272B';
|
|
6
6
|
exports.Brand = Brand;
|
|
7
|
-
var B100 = '#
|
|
7
|
+
var B100 = '#FFE5E6';
|
|
8
8
|
exports.B100 = B100;
|
|
9
|
-
var B99 = '#
|
|
9
|
+
var B99 = '#FCCACB';
|
|
10
10
|
exports.B99 = B99;
|
|
11
11
|
var B93 = '#EC272B';
|
|
12
12
|
exports.B93 = B93;
|
package/package.json
CHANGED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ActivatorSelectProps } from './ActivatorSelect';
|
|
3
|
-
import { ActivatorTextInputProps } from './ActivatorTextInput';
|
|
4
|
-
export interface ActivatorSelectContextProps extends ActivatorSelectProps {
|
|
5
|
-
allowMultiple?: boolean;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
hasError?: boolean;
|
|
8
|
-
onSelectClick(): void;
|
|
9
|
-
selectedValues?: string[];
|
|
10
|
-
}
|
|
11
|
-
export interface ActivatorTextInputContextProps extends ActivatorTextInputProps {
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
}
|
|
14
|
-
export declare const ActivatorSelectContext: import("react").Context<ActivatorSelectContextProps>;
|
|
15
|
-
export declare const ActivatorTextInputContext: import("react").Context<ActivatorTextInputContextProps>;
|
|
16
|
-
export declare const useActivatorSelect: () => ActivatorSelectContextProps;
|
|
17
|
-
export declare const useActivatorTextInput: () => ActivatorTextInputContextProps;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { createContext, useContext } from 'react';
|
|
2
|
-
export var ActivatorSelectContext = /*#__PURE__*/createContext(undefined);
|
|
3
|
-
export var ActivatorTextInputContext = /*#__PURE__*/createContext(undefined);
|
|
4
|
-
export var useActivatorSelect = function useActivatorSelect() {
|
|
5
|
-
var context = useContext(ActivatorSelectContext);
|
|
6
|
-
if (!context) {
|
|
7
|
-
throw new Error('No ActivatorSelectContext was provided. Your component must be wrapped in a <ActivatorSelectContext.Provider>');
|
|
8
|
-
}
|
|
9
|
-
return context;
|
|
10
|
-
};
|
|
11
|
-
export var useActivatorTextInput = function useActivatorTextInput() {
|
|
12
|
-
var context = useContext(ActivatorTextInputContext);
|
|
13
|
-
if (!context) {
|
|
14
|
-
throw new Error('No ActivatorTextInputContext was provided. Your component must be wrapped in a <ActivatorTextInputContext.Provider>');
|
|
15
|
-
}
|
|
16
|
-
return context;
|
|
17
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ActivatorSelectProps } from './ActivatorSelect';
|
|
3
|
-
import { ActivatorTextInputProps } from './ActivatorTextInput';
|
|
4
|
-
export interface ActivatorSelectContextProps extends ActivatorSelectProps {
|
|
5
|
-
allowMultiple?: boolean;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
hasError?: boolean;
|
|
8
|
-
onSelectClick(): void;
|
|
9
|
-
selectedValues?: string[];
|
|
10
|
-
}
|
|
11
|
-
export interface ActivatorTextInputContextProps extends ActivatorTextInputProps {
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
}
|
|
14
|
-
export declare const ActivatorSelectContext: import("react").Context<ActivatorSelectContextProps>;
|
|
15
|
-
export declare const ActivatorTextInputContext: import("react").Context<ActivatorTextInputContextProps>;
|
|
16
|
-
export declare const useActivatorSelect: () => ActivatorSelectContextProps;
|
|
17
|
-
export declare const useActivatorTextInput: () => ActivatorTextInputContextProps;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
exports.__esModule = true;
|
|
4
|
-
exports.useActivatorTextInput = exports.useActivatorSelect = exports.ActivatorTextInputContext = exports.ActivatorSelectContext = void 0;
|
|
5
|
-
var _react = require("react");
|
|
6
|
-
var ActivatorSelectContext = /*#__PURE__*/(0, _react.createContext)(undefined);
|
|
7
|
-
exports.ActivatorSelectContext = ActivatorSelectContext;
|
|
8
|
-
var ActivatorTextInputContext = /*#__PURE__*/(0, _react.createContext)(undefined);
|
|
9
|
-
exports.ActivatorTextInputContext = ActivatorTextInputContext;
|
|
10
|
-
var useActivatorSelect = function useActivatorSelect() {
|
|
11
|
-
var context = (0, _react.useContext)(ActivatorSelectContext);
|
|
12
|
-
if (!context) {
|
|
13
|
-
throw new Error('No ActivatorSelectContext was provided. Your component must be wrapped in a <ActivatorSelectContext.Provider>');
|
|
14
|
-
}
|
|
15
|
-
return context;
|
|
16
|
-
};
|
|
17
|
-
exports.useActivatorSelect = useActivatorSelect;
|
|
18
|
-
var useActivatorTextInput = function useActivatorTextInput() {
|
|
19
|
-
var context = (0, _react.useContext)(ActivatorTextInputContext);
|
|
20
|
-
if (!context) {
|
|
21
|
-
throw new Error('No ActivatorTextInputContext was provided. Your component must be wrapped in a <ActivatorTextInputContext.Provider>');
|
|
22
|
-
}
|
|
23
|
-
return context;
|
|
24
|
-
};
|
|
25
|
-
exports.useActivatorTextInput = useActivatorTextInput;
|