glints-aries 4.0.202 → 4.0.203

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.
@@ -4,4 +4,4 @@ import { space2 } from '../utilities/spacing';
4
4
  export var StyledLink = styled.a.withConfig({
5
5
  displayName: "LinkStyle__StyledLink",
6
6
  componentId: "sc-usx229-0"
7
- })(["display:flex;align-items:center;color:", ";&[data-underline='false']{text-decoration:none;}&[data-monochrome='true']{color:", ";&:hover,&:active{color:", ";}}&:hover{color:rgba(0,86,140,0.9);svg{fill:rgba(0,86,140,0.9);}}&:active{color:", ";svg{fill:", ";}}svg{fill:", ";margin-left:", ";padding-bottom:", ";height:18px;}"], Blue.S99, Neutral.B18, Neutral.B00, Blue.S100, Blue.S100, Blue.S99, space2, space2);
7
+ })(["display:flex;align-items:center;color:", ";&[data-underline='false']{text-decoration:none;}&[data-monochrome='true']{color:", ";&:hover,&:active{color:", ";svg{fill:", ";}}svg{fill:", ";}}&:hover{color:rgba(0,86,140,0.9);svg{fill:rgba(0,86,140,0.9);}}&:active{color:", ";svg{fill:", ";}}svg{fill:", ";margin-left:", ";padding-bottom:", ";height:18px;}"], Blue.S99, Neutral.B18, Neutral.B00, Neutral.B00, Neutral.B18, Blue.S100, Blue.S100, Blue.S99, space2, space2);
@@ -1,4 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  import { IconProps } from '../Icon';
3
- export declare type SpinnerProps = Omit<IconProps, 'name'>;
4
- export declare const Spinner: (props: SpinnerProps) => JSX.Element;
3
+ export declare type Size = 'small' | 'large';
4
+ export declare type SpinnerProps = Omit<IconProps, 'name'> & {
5
+ label?: string;
6
+ size?: Size;
7
+ };
8
+ export declare const Spinner: ({ label, size, ...props }: SpinnerProps) => JSX.Element;
@@ -1,15 +1,24 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
+ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
3
+ var _excluded = ["label", "size"];
4
+ var _iconSizeMapping, _labelVariantMapping;
2
5
  import React from 'react';
3
- import styled from 'styled-components';
4
6
  import { Icon } from '../Icon';
5
- var StyledWrapper = styled.div.withConfig({
6
- displayName: "Spinner__StyledWrapper",
7
- componentId: "sc-ynwr5u-0"
8
- })(["display:flex;justify-content:center;@keyframes p-keyframes-spin{to{transform:rotate(1turn);}}svg{animation:p-keyframes-spin 800ms linear infinite;}"]);
9
- export var Spinner = function Spinner(props) {
7
+ import { Label, StyledWrapper } from './SpinnerStyle';
8
+ var iconSizeMapping = (_iconSizeMapping = {}, _iconSizeMapping['small'] = '18px', _iconSizeMapping['large'] = '48px', _iconSizeMapping);
9
+ var labelVariantMapping = (_labelVariantMapping = {}, _labelVariantMapping['small'] = 'body1', _labelVariantMapping['large'] = 'subtitle1', _labelVariantMapping);
10
+ export var Spinner = function Spinner(_ref) {
11
+ var label = _ref.label,
12
+ size = _ref.size,
13
+ props = _objectWithoutPropertiesLoose(_ref, _excluded);
10
14
  return /*#__PURE__*/React.createElement(StyledWrapper, {
11
15
  className: "spinner-container"
12
16
  }, /*#__PURE__*/React.createElement(Icon, _extends({
13
- name: "ri-loader"
14
- }, props)));
17
+ name: "ri-loader",
18
+ height: iconSizeMapping[size],
19
+ width: iconSizeMapping[size]
20
+ }, props)), label && /*#__PURE__*/React.createElement(Label, {
21
+ variant: labelVariantMapping[size],
22
+ "data-size": size
23
+ }, label));
15
24
  };
@@ -0,0 +1,5 @@
1
+ import { Meta } from '@storybook/react';
2
+ declare const _default: Meta<import("@storybook/react").Args>;
3
+ export default _default;
4
+ export declare const Default: any;
5
+ export declare const WithLabel: any;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ export declare const StyledWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
3
+ export declare const Label: import("styled-components").StyledComponent<({ as, children, variant, style, ...props }: import("../Typography").TypographyProps) => JSX.Element, any, {}, never>;
@@ -0,0 +1,11 @@
1
+ import styled from 'styled-components';
2
+ import { Typography } from '../Typography';
3
+ import { space16, space4 } from '../utilities/spacing';
4
+ export var StyledWrapper = styled.div.withConfig({
5
+ displayName: "SpinnerStyle__StyledWrapper",
6
+ componentId: "sc-1rqoa36-0"
7
+ })(["display:flex;flex-direction:column;justify-content:center;align-items:center;@keyframes p-keyframes-spin{to{transform:rotate(1turn);}}svg{animation:p-keyframes-spin 800ms linear infinite;}"]);
8
+ export var Label = styled(Typography).withConfig({
9
+ displayName: "SpinnerStyle__Label",
10
+ componentId: "sc-1rqoa36-1"
11
+ })(["margin-bottom:0;&[data-size='large']{margin-top:", ";}&[data-size='small']{margin-top:", ";}"], space16, space4);
@@ -4,5 +4,6 @@ export interface SwitchProps extends Omit<React.InputHTMLAttributes<HTMLInputEle
4
4
  disabled?: boolean;
5
5
  onChange: () => void;
6
6
  value: string;
7
+ withIcon?: boolean;
7
8
  }
8
9
  export declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLInputElement>>;
@@ -1,14 +1,26 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
3
- var _excluded = ["checked", "disabled", "onChange", "value"];
3
+ var _excluded = ["checked", "disabled", "onChange", "value", "withIcon"];
4
4
  import React from 'react';
5
+ import { Icon } from '../Icon';
6
+ import { Neutral } from '../utilities/colors';
5
7
  import { InputStyle, LabelStyle, SwitchStyle } from './SwitchStyle';
6
8
  export var Switch = /*#__PURE__*/React.forwardRef(function Switch(_ref, ref) {
7
9
  var checked = _ref.checked,
8
10
  disabled = _ref.disabled,
9
11
  onChange = _ref.onChange,
10
12
  value = _ref.value,
13
+ withIcon = _ref.withIcon,
11
14
  otherProps = _objectWithoutPropertiesLoose(_ref, _excluded);
15
+ var IconRender = function IconRender() {
16
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Icon, {
17
+ name: "ri-check",
18
+ fill: disabled ? Neutral.B85 : Neutral.B100
19
+ }), /*#__PURE__*/React.createElement(Icon, {
20
+ name: "ri-close",
21
+ fill: disabled ? Neutral.B85 : Neutral.B100
22
+ }));
23
+ };
12
24
  return /*#__PURE__*/React.createElement(LabelStyle, null, /*#__PURE__*/React.createElement(InputStyle, _extends({
13
25
  value: value
14
26
  }, otherProps, {
@@ -16,8 +28,10 @@ export var Switch = /*#__PURE__*/React.forwardRef(function Switch(_ref, ref) {
16
28
  defaultChecked: checked,
17
29
  type: "checkbox",
18
30
  onChange: onChange,
19
- ref: ref
31
+ ref: ref,
32
+ "data-with-icon": withIcon
20
33
  })), /*#__PURE__*/React.createElement(SwitchStyle, {
21
- "data-disabled": disabled
22
- }));
34
+ "data-disabled": disabled,
35
+ "data-with-icon": withIcon
36
+ }, withIcon && /*#__PURE__*/React.createElement(IconRender, null)));
23
37
  });
@@ -1,4 +1,5 @@
1
1
  import { Meta } from '@storybook/react';
2
2
  declare const _default: Meta<import("@storybook/react").Args>;
3
3
  export default _default;
4
- export declare const Interactive: any;
4
+ export declare const Default: any;
5
+ export declare const WithIcon: any;
@@ -4,11 +4,11 @@ import { Blue, Neutral } from '../utilities/colors';
4
4
  export var SwitchStyle = styled.div.withConfig({
5
5
  displayName: "SwitchStyle",
6
6
  componentId: "sc-7dlucf-0"
7
- })(["position:relative;width:", ";height:", ";background-color:", ";&[data-disabled='true']{background-color:", ";}border-radius:", ";padding:0;transition:300ms all;@media (max-width:", "){width:38px;height:22px;}&:before{transition:100ms all;content:'';position:absolute;width:16px;height:16px;border-radius:16px;top:50%;left:4px;background:", ";transform:translate(0,-50%);@media (max-width:", "){width:14px;height:14px;}}"], Spacing.space40, Spacing.space24, Neutral.B40, Neutral.B95, Spacing.space24, Breakpoints.large, Neutral.B100, Breakpoints.large);
7
+ })(["display:flex;flex-direction:row;justify-content:space-between;align-items:center;position:relative;width:", ";&[data-with-icon]{width:48px;}&[data-with-icon] svg{height:16px;}height:", ";background-color:", ";&[data-disabled='true']{background-color:", ";cursor:not-allowed;}border-radius:", ";padding:0;padding-left:8px;padding-right:8px;transition:300ms all;@media (max-width:", "){width:38px;&[data-with-icon]{width:44px;}&[data-with-icon] svg{height:14px;}height:22px;}&:before{transition:100ms all;content:'';position:absolute;width:16px;height:16px;border-radius:16px;top:50%;left:4px;background:", ";box-shadow:0px 1px 3px rgba(0,0,0,0.1);transform:translate(0,-50%);@media (max-width:", "){width:14px;height:14px;}}"], Spacing.space40, Spacing.space24, Neutral.B40, Neutral.B95, Spacing.space24, Breakpoints.large, Neutral.B100, Breakpoints.large);
8
8
  export var InputStyle = styled.input.withConfig({
9
9
  displayName: "SwitchStyle__InputStyle",
10
10
  componentId: "sc-7dlucf-1"
11
- })(["opacity:0;position:absolute;&:checked + ", "{background-color:", ";&[data-disabled='true']{background-color:", ";}&:before{transform:translate(16px,-50%);}}"], SwitchStyle, Blue.S99, Neutral.B95);
11
+ })(["opacity:0;position:absolute;&:checked + ", "{background-color:", ";&[data-disabled='true']{background-color:", ";}&:before{transform:translate(16px,-50%);}&[data-with-icon]{&:before{transform:translate(24px,-50%);}}}& + ", " svg:nth-child(1){visibility:hidden;}& + ", " svg:nth-child(2){visibility:visible;}&:checked + ", " svg:nth-child(1){visibility:visible;}&:checked + ", " svg:nth-child(2){visibility:hidden;}"], SwitchStyle, Blue.S99, Neutral.B95, SwitchStyle, SwitchStyle, SwitchStyle, SwitchStyle);
12
12
  export var LabelStyle = styled.label.withConfig({
13
13
  displayName: "SwitchStyle__LabelStyle",
14
14
  componentId: "sc-7dlucf-2"
@@ -9,5 +9,5 @@ var _spacing = require("../utilities/spacing");
9
9
  var StyledLink = _styledComponents["default"].a.withConfig({
10
10
  displayName: "LinkStyle__StyledLink",
11
11
  componentId: "sc-usx229-0"
12
- })(["display:flex;align-items:center;color:", ";&[data-underline='false']{text-decoration:none;}&[data-monochrome='true']{color:", ";&:hover,&:active{color:", ";}}&:hover{color:rgba(0,86,140,0.9);svg{fill:rgba(0,86,140,0.9);}}&:active{color:", ";svg{fill:", ";}}svg{fill:", ";margin-left:", ";padding-bottom:", ";height:18px;}"], _colors.Blue.S99, _colors.Neutral.B18, _colors.Neutral.B00, _colors.Blue.S100, _colors.Blue.S100, _colors.Blue.S99, _spacing.space2, _spacing.space2);
12
+ })(["display:flex;align-items:center;color:", ";&[data-underline='false']{text-decoration:none;}&[data-monochrome='true']{color:", ";&:hover,&:active{color:", ";svg{fill:", ";}}svg{fill:", ";}}&:hover{color:rgba(0,86,140,0.9);svg{fill:rgba(0,86,140,0.9);}}&:active{color:", ";svg{fill:", ";}}svg{fill:", ";margin-left:", ";padding-bottom:", ";height:18px;}"], _colors.Blue.S99, _colors.Neutral.B18, _colors.Neutral.B00, _colors.Neutral.B00, _colors.Neutral.B18, _colors.Blue.S100, _colors.Blue.S100, _colors.Blue.S99, _spacing.space2, _spacing.space2);
13
13
  exports.StyledLink = StyledLink;
@@ -1,4 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  import { IconProps } from '../Icon';
3
- export declare type SpinnerProps = Omit<IconProps, 'name'>;
4
- export declare const Spinner: (props: SpinnerProps) => JSX.Element;
3
+ export declare type Size = 'small' | 'large';
4
+ export declare type SpinnerProps = Omit<IconProps, 'name'> & {
5
+ label?: string;
6
+ size?: Size;
7
+ };
8
+ export declare const Spinner: ({ label, size, ...props }: SpinnerProps) => JSX.Element;
@@ -4,18 +4,27 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  exports.__esModule = true;
5
5
  exports.Spinner = void 0;
6
6
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
7
+ var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
7
8
  var _react = _interopRequireDefault(require("react"));
8
- var _styledComponents = _interopRequireDefault(require("styled-components"));
9
9
  var _Icon = require("../Icon");
10
- var StyledWrapper = _styledComponents["default"].div.withConfig({
11
- displayName: "Spinner__StyledWrapper",
12
- componentId: "sc-ynwr5u-0"
13
- })(["display:flex;justify-content:center;@keyframes p-keyframes-spin{to{transform:rotate(1turn);}}svg{animation:p-keyframes-spin 800ms linear infinite;}"]);
14
- var Spinner = function Spinner(props) {
15
- return /*#__PURE__*/_react["default"].createElement(StyledWrapper, {
10
+ var _SpinnerStyle = require("./SpinnerStyle");
11
+ var _excluded = ["label", "size"];
12
+ var _iconSizeMapping, _labelVariantMapping;
13
+ var iconSizeMapping = (_iconSizeMapping = {}, _iconSizeMapping['small'] = '18px', _iconSizeMapping['large'] = '48px', _iconSizeMapping);
14
+ var labelVariantMapping = (_labelVariantMapping = {}, _labelVariantMapping['small'] = 'body1', _labelVariantMapping['large'] = 'subtitle1', _labelVariantMapping);
15
+ var Spinner = function Spinner(_ref) {
16
+ var label = _ref.label,
17
+ size = _ref.size,
18
+ props = (0, _objectWithoutPropertiesLoose2["default"])(_ref, _excluded);
19
+ return /*#__PURE__*/_react["default"].createElement(_SpinnerStyle.StyledWrapper, {
16
20
  className: "spinner-container"
17
21
  }, /*#__PURE__*/_react["default"].createElement(_Icon.Icon, (0, _extends2["default"])({
18
- name: "ri-loader"
19
- }, props)));
22
+ name: "ri-loader",
23
+ height: iconSizeMapping[size],
24
+ width: iconSizeMapping[size]
25
+ }, props)), label && /*#__PURE__*/_react["default"].createElement(_SpinnerStyle.Label, {
26
+ variant: labelVariantMapping[size],
27
+ "data-size": size
28
+ }, label));
20
29
  };
21
30
  exports.Spinner = Spinner;
@@ -0,0 +1,5 @@
1
+ import { Meta } from '@storybook/react';
2
+ declare const _default: Meta<import("@storybook/react").Args>;
3
+ export default _default;
4
+ export declare const Default: any;
5
+ export declare const WithLabel: any;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ export declare const StyledWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
3
+ export declare const Label: import("styled-components").StyledComponent<({ as, children, variant, style, ...props }: import("../Typography").TypographyProps) => JSX.Element, any, {}, never>;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ exports.__esModule = true;
5
+ exports.StyledWrapper = exports.Label = void 0;
6
+ var _styledComponents = _interopRequireDefault(require("styled-components"));
7
+ var _Typography = require("../Typography");
8
+ var _spacing = require("../utilities/spacing");
9
+ var StyledWrapper = _styledComponents["default"].div.withConfig({
10
+ displayName: "SpinnerStyle__StyledWrapper",
11
+ componentId: "sc-1rqoa36-0"
12
+ })(["display:flex;flex-direction:column;justify-content:center;align-items:center;@keyframes p-keyframes-spin{to{transform:rotate(1turn);}}svg{animation:p-keyframes-spin 800ms linear infinite;}"]);
13
+ exports.StyledWrapper = StyledWrapper;
14
+ var Label = (0, _styledComponents["default"])(_Typography.Typography).withConfig({
15
+ displayName: "SpinnerStyle__Label",
16
+ componentId: "sc-1rqoa36-1"
17
+ })(["margin-bottom:0;&[data-size='large']{margin-top:", ";}&[data-size='small']{margin-top:", ";}"], _spacing.space16, _spacing.space4);
18
+ exports.Label = Label;
@@ -4,5 +4,6 @@ export interface SwitchProps extends Omit<React.InputHTMLAttributes<HTMLInputEle
4
4
  disabled?: boolean;
5
5
  onChange: () => void;
6
6
  value: string;
7
+ withIcon?: boolean;
7
8
  }
8
9
  export declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLInputElement>>;
@@ -6,14 +6,26 @@ exports.Switch = void 0;
6
6
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
7
7
  var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
8
8
  var _react = _interopRequireDefault(require("react"));
9
+ var _Icon = require("../Icon");
10
+ var _colors = require("../utilities/colors");
9
11
  var _SwitchStyle = require("./SwitchStyle");
10
- var _excluded = ["checked", "disabled", "onChange", "value"];
12
+ var _excluded = ["checked", "disabled", "onChange", "value", "withIcon"];
11
13
  var Switch = /*#__PURE__*/_react["default"].forwardRef(function Switch(_ref, ref) {
12
14
  var checked = _ref.checked,
13
15
  disabled = _ref.disabled,
14
16
  onChange = _ref.onChange,
15
17
  value = _ref.value,
18
+ withIcon = _ref.withIcon,
16
19
  otherProps = (0, _objectWithoutPropertiesLoose2["default"])(_ref, _excluded);
20
+ var IconRender = function IconRender() {
21
+ return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_Icon.Icon, {
22
+ name: "ri-check",
23
+ fill: disabled ? _colors.Neutral.B85 : _colors.Neutral.B100
24
+ }), /*#__PURE__*/_react["default"].createElement(_Icon.Icon, {
25
+ name: "ri-close",
26
+ fill: disabled ? _colors.Neutral.B85 : _colors.Neutral.B100
27
+ }));
28
+ };
17
29
  return /*#__PURE__*/_react["default"].createElement(_SwitchStyle.LabelStyle, null, /*#__PURE__*/_react["default"].createElement(_SwitchStyle.InputStyle, (0, _extends2["default"])({
18
30
  value: value
19
31
  }, otherProps, {
@@ -21,9 +33,11 @@ var Switch = /*#__PURE__*/_react["default"].forwardRef(function Switch(_ref, ref
21
33
  defaultChecked: checked,
22
34
  type: "checkbox",
23
35
  onChange: onChange,
24
- ref: ref
36
+ ref: ref,
37
+ "data-with-icon": withIcon
25
38
  })), /*#__PURE__*/_react["default"].createElement(_SwitchStyle.SwitchStyle, {
26
- "data-disabled": disabled
27
- }));
39
+ "data-disabled": disabled,
40
+ "data-with-icon": withIcon
41
+ }, withIcon && /*#__PURE__*/_react["default"].createElement(IconRender, null)));
28
42
  });
29
43
  exports.Switch = Switch;
@@ -1,4 +1,5 @@
1
1
  import { Meta } from '@storybook/react';
2
2
  declare const _default: Meta<import("@storybook/react").Args>;
3
3
  export default _default;
4
- export declare const Interactive: any;
4
+ export declare const Default: any;
5
+ export declare const WithIcon: any;
@@ -9,12 +9,12 @@ var _colors = require("../utilities/colors");
9
9
  var SwitchStyle = _styledComponents["default"].div.withConfig({
10
10
  displayName: "SwitchStyle",
11
11
  componentId: "sc-7dlucf-0"
12
- })(["position:relative;width:", ";height:", ";background-color:", ";&[data-disabled='true']{background-color:", ";}border-radius:", ";padding:0;transition:300ms all;@media (max-width:", "){width:38px;height:22px;}&:before{transition:100ms all;content:'';position:absolute;width:16px;height:16px;border-radius:16px;top:50%;left:4px;background:", ";transform:translate(0,-50%);@media (max-width:", "){width:14px;height:14px;}}"], _.Spacing.space40, _.Spacing.space24, _colors.Neutral.B40, _colors.Neutral.B95, _.Spacing.space24, _.Breakpoints.large, _colors.Neutral.B100, _.Breakpoints.large);
12
+ })(["display:flex;flex-direction:row;justify-content:space-between;align-items:center;position:relative;width:", ";&[data-with-icon]{width:48px;}&[data-with-icon] svg{height:16px;}height:", ";background-color:", ";&[data-disabled='true']{background-color:", ";cursor:not-allowed;}border-radius:", ";padding:0;padding-left:8px;padding-right:8px;transition:300ms all;@media (max-width:", "){width:38px;&[data-with-icon]{width:44px;}&[data-with-icon] svg{height:14px;}height:22px;}&:before{transition:100ms all;content:'';position:absolute;width:16px;height:16px;border-radius:16px;top:50%;left:4px;background:", ";box-shadow:0px 1px 3px rgba(0,0,0,0.1);transform:translate(0,-50%);@media (max-width:", "){width:14px;height:14px;}}"], _.Spacing.space40, _.Spacing.space24, _colors.Neutral.B40, _colors.Neutral.B95, _.Spacing.space24, _.Breakpoints.large, _colors.Neutral.B100, _.Breakpoints.large);
13
13
  exports.SwitchStyle = SwitchStyle;
14
14
  var InputStyle = _styledComponents["default"].input.withConfig({
15
15
  displayName: "SwitchStyle__InputStyle",
16
16
  componentId: "sc-7dlucf-1"
17
- })(["opacity:0;position:absolute;&:checked + ", "{background-color:", ";&[data-disabled='true']{background-color:", ";}&:before{transform:translate(16px,-50%);}}"], SwitchStyle, _colors.Blue.S99, _colors.Neutral.B95);
17
+ })(["opacity:0;position:absolute;&:checked + ", "{background-color:", ";&[data-disabled='true']{background-color:", ";}&:before{transform:translate(16px,-50%);}&[data-with-icon]{&:before{transform:translate(24px,-50%);}}}& + ", " svg:nth-child(1){visibility:hidden;}& + ", " svg:nth-child(2){visibility:visible;}&:checked + ", " svg:nth-child(1){visibility:visible;}&:checked + ", " svg:nth-child(2){visibility:hidden;}"], SwitchStyle, _colors.Blue.S99, _colors.Neutral.B95, SwitchStyle, SwitchStyle, SwitchStyle, SwitchStyle);
18
18
  exports.InputStyle = InputStyle;
19
19
  var LabelStyle = _styledComponents["default"].label.withConfig({
20
20
  displayName: "SwitchStyle__LabelStyle",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "glints-aries",
3
- "version": "4.0.202",
3
+ "version": "4.0.203",
4
4
  "description": "Glints ui-kit for frontend",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./es/index.js",
@@ -27,7 +27,8 @@
27
27
  "storybook:build": "rm -rf .out && npm run storybook:build:assets && npm run build:icon && npm run build:next:icon && build-storybook -o .out -s dist/public",
28
28
  "storybook:build:test": "rm -rf storybook-static && npm run storybook:build:assets && npm run build:icon && npm run build:next:icon && build-storybook -o storybook-static -s dist/public",
29
29
  "storybook:build:assets": "webpack",
30
- "prepare": "husky install"
30
+ "prepare": "husky install",
31
+ "check-definition-files": "node checkDefinitionFiles.js"
31
32
  },
32
33
  "author": "Glints",
33
34
  "license": "MIT",