@ncds/ui-admin 1.0.2 → 1.1.1

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.
Files changed (37) hide show
  1. package/dist/cjs/src/components/button/ButtonGroup.js +8 -8
  2. package/dist/cjs/src/components/checkbox/Checkbox.js +1 -1
  3. package/dist/cjs/src/components/checkbox/CheckboxInput.js +1 -1
  4. package/dist/cjs/src/components/date-picker/DatePicker.js +2 -2
  5. package/dist/cjs/src/components/date-picker/RangeDatePickerWithButtons.js +5 -5
  6. package/dist/cjs/src/components/input/InputBase.js +5 -5
  7. package/dist/cjs/src/components/input/PasswordInput.js +4 -4
  8. package/dist/cjs/src/components/input/Textarea.js +2 -2
  9. package/dist/cjs/src/components/radio/Radio.js +1 -1
  10. package/dist/cjs/src/components/radio/RadioInput.js +1 -1
  11. package/dist/cjs/src/components/tab/HorizontalTab.js +6 -5
  12. package/dist/cjs/src/components/tab/TabButton.js +1 -1
  13. package/dist/cjs/src/components/tab/VerticalTab.js +1 -1
  14. package/dist/esm/src/components/button/ButtonGroup.js +8 -8
  15. package/dist/esm/src/components/checkbox/Checkbox.js +1 -1
  16. package/dist/esm/src/components/checkbox/CheckboxInput.js +1 -1
  17. package/dist/esm/src/components/date-picker/DatePicker.js +2 -2
  18. package/dist/esm/src/components/date-picker/RangeDatePickerWithButtons.js +5 -5
  19. package/dist/esm/src/components/input/InputBase.js +5 -5
  20. package/dist/esm/src/components/input/PasswordInput.js +4 -4
  21. package/dist/esm/src/components/input/Textarea.js +2 -2
  22. package/dist/esm/src/components/radio/Radio.js +1 -1
  23. package/dist/esm/src/components/radio/RadioInput.js +1 -1
  24. package/dist/esm/src/components/tab/HorizontalTab.js +6 -5
  25. package/dist/esm/src/components/tab/TabButton.js +1 -1
  26. package/dist/esm/src/components/tab/VerticalTab.js +1 -1
  27. package/dist/types/src/components/button/ButtonGroup.d.ts +1 -1
  28. package/dist/types/src/components/checkbox/CheckboxInput.d.ts +1 -1
  29. package/dist/types/src/components/date-picker/DatePicker.d.ts +2 -2
  30. package/dist/types/src/components/date-picker/RangeDatePickerWithButtons.d.ts +2 -1
  31. package/dist/types/src/components/input/InputBase.d.ts +1 -1
  32. package/dist/types/src/components/input/Textarea.d.ts +1 -1
  33. package/dist/types/src/components/radio/RadioInput.d.ts +1 -1
  34. package/dist/types/src/components/tab/HorizontalTab.d.ts +2 -2
  35. package/dist/types/src/components/tab/TabButton.d.ts +1 -1
  36. package/dist/ui-admin/assets/styles/style.css +116 -63
  37. package/package.json +1 -1
@@ -32,16 +32,16 @@ var __rest = void 0 && (void 0).__rest || function (s, e) {
32
32
  return t;
33
33
  };
34
34
  var svgSize = {
35
- xs: 12,
35
+ xxs: 12,
36
+ xs: 16,
36
37
  sm: 16,
37
- md: 16,
38
- lg: 20
38
+ md: 20
39
39
  };
40
40
  var dotSize = {
41
+ xxs: 'sm',
41
42
  xs: 'sm',
42
- sm: 'sm',
43
- md: 'md',
44
- lg: 'md'
43
+ sm: 'md',
44
+ md: 'md'
45
45
  };
46
46
  var ButtonGroup = function (_a) {
47
47
  var children = _a.children,
@@ -49,7 +49,7 @@ var ButtonGroup = function (_a) {
49
49
  _b = _a.hasBorder,
50
50
  hasBorder = _b === void 0 ? true : _b,
51
51
  _c = _a.size,
52
- size = _c === void 0 ? 'lg' : _c,
52
+ size = _c === void 0 ? 'xs' : _c,
53
53
  _d = _a.onlyIcon,
54
54
  onlyIcon = _d === void 0 ? false : _d,
55
55
  _e = _a.disabled,
@@ -78,7 +78,7 @@ ButtonGroup.Item = function (_a) {
78
78
  as = _c === void 0 ? 'button' : _c,
79
79
  label = _a.label,
80
80
  _d = _a.size,
81
- size = _d === void 0 ? 'md' : _d,
81
+ size = _d === void 0 ? 'xs' : _d,
82
82
  onlyIcon = _a.onlyIcon,
83
83
  icon = _a.icon,
84
84
  disabled = _a.disabled,
@@ -28,7 +28,7 @@ var __rest = void 0 && (void 0).__rest || function (s, e) {
28
28
  };
29
29
  var Checkbox = function (_a) {
30
30
  var _b = _a.size,
31
- size = _b === void 0 ? 'sm' : _b,
31
+ size = _b === void 0 ? 'xs' : _b,
32
32
  _c = _a.indeterminate,
33
33
  indeterminate = _c === void 0 ? false : _c,
34
34
  text = _a.text,
@@ -31,7 +31,7 @@ var __rest = void 0 && (void 0).__rest || function (s, e) {
31
31
  */
32
32
  var CheckboxInput = exports.CheckboxInput = /*#__PURE__*/(0, _react.forwardRef)(function (_a, ref) {
33
33
  var _b = _a.size,
34
- size = _b === void 0 ? 'sm' : _b,
34
+ size = _b === void 0 ? 'xs' : _b,
35
35
  _c = _a.indeterminate,
36
36
  indeterminate = _c === void 0 ? false : _c,
37
37
  disabled = _a.disabled,
@@ -34,7 +34,7 @@ var DatePicker = exports.DatePicker = /*#__PURE__*/(0, _react.forwardRef)(functi
34
34
  shouldFocus = _b === void 0 ? true : _b,
35
35
  currentDate = _a.currentDate,
36
36
  _c = _a.size,
37
- size = _c === void 0 ? 'sm' : _c,
37
+ size = _c === void 0 ? 'xs' : _c,
38
38
  onChangeDate = _a.onChangeDate,
39
39
  datePickerOptions = _a.datePickerOptions,
40
40
  attrs = __rest(_a, ["shouldFocus", "currentDate", "size", "onChangeDate", "datePickerOptions"]);
@@ -50,7 +50,7 @@ var DatePicker = exports.DatePicker = /*#__PURE__*/(0, _react.forwardRef)(functi
50
50
  onChange: onChangeDateHandler,
51
51
  allowInvalidPreload: true
52
52
  }, datePickerOptions);
53
- var svgSize = size === 'sm' ? 14 : 16;
53
+ var svgSize = size === 'xs' ? 14 : 16;
54
54
  return (0, _jsxRuntime.jsxs)("div", __assign({
55
55
  className: (0, _classnames.default)('ncua-date-picker', "ncua-date-picker--".concat(size), {
56
56
  'ncua-date-picker--disabled': attrs.disabled
@@ -21,8 +21,10 @@ var __assign = void 0 && (void 0).__assign || function () {
21
21
  return __assign.apply(this, arguments);
22
22
  };
23
23
  var RangeDatePickerWithButtons = function (_a) {
24
- var _b = _a.buttonGroupSize,
25
- buttonGroupSize = _b === void 0 ? 'sm' : _b,
24
+ var _b = _a.fixedEndDate,
25
+ fixedEndDate = _b === void 0 ? (0, _datePicker.getDateFormat)() : _b,
26
+ _c = _a.buttonGroupSize,
27
+ buttonGroupSize = _c === void 0 ? 'sm' : _c,
26
28
  currentButtonId = _a.currentButtonId,
27
29
  setCurrentButtonId = _a.setCurrentButtonId,
28
30
  startDateOptions = _a.startDateOptions,
@@ -45,9 +47,7 @@ var RangeDatePickerWithButtons = function (_a) {
45
47
  unit: currentPeriodItem.unit
46
48
  }));
47
49
  startDateOptions.onChangeDate(startDate);
48
- if (endDateOptions.currentDate !== (0, _datePicker.getDateFormat)()) {
49
- endDateOptions.onChangeDate((0, _datePicker.getDateFormat)());
50
- }
50
+ endDateOptions.onChangeDate(fixedEndDate);
51
51
  };
52
52
  var handleOnChangeDate = function (date, type) {
53
53
  type === 'START' ? startDateOptions.onChangeDate(date) : endDateOptions.onChangeDate(date);
@@ -6,11 +6,11 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.InputBase = void 0;
7
7
  var _jsxRuntime = require("react/jsx-runtime");
8
8
  var _uiAdminIcon = _interopRequireDefault(require("@ncds/ui-admin-icon"));
9
- var _react = require("react");
10
9
  var _classnames = _interopRequireDefault(require("classnames"));
10
+ var _react = require("react");
11
11
  var _color = require("../../../constant/color");
12
- var _Label = require("../shared/label/Label");
13
12
  var _HintText = require("../shared/hintText/HintText");
13
+ var _Label = require("../shared/label/Label");
14
14
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
15
15
  var __assign = void 0 && (void 0).__assign || function () {
16
16
  __assign = Object.assign || function (t) {
@@ -32,15 +32,15 @@ var __rest = void 0 && (void 0).__rest || function (s, e) {
32
32
  };
33
33
  var validationSvgSize = {
34
34
  xs: 14,
35
- md: 16
35
+ sm: 16
36
36
  };
37
37
  var generalSvgSize = {
38
38
  xs: 14,
39
- md: 20
39
+ sm: 20
40
40
  };
41
41
  var InputBase = exports.InputBase = /*#__PURE__*/(0, _react.forwardRef)(function (_a, ref) {
42
42
  var _b = _a.size,
43
- size = _b === void 0 ? 'md' : _b,
43
+ size = _b === void 0 ? 'xs' : _b,
44
44
  required = _a.required,
45
45
  label = _a.label,
46
46
  hintText = _a.hintText,
@@ -5,10 +5,10 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.PasswordInput = void 0;
7
7
  var _jsxRuntime = require("react/jsx-runtime");
8
- var _react = require("react");
9
- var _InputBase = require("./InputBase");
10
8
  var _uiAdminIcon = require("@ncds/ui-admin-icon");
11
9
  var _classnames = _interopRequireDefault(require("classnames"));
10
+ var _react = require("react");
11
+ var _InputBase = require("./InputBase");
12
12
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
13
13
  var __assign = void 0 && (void 0).__assign || function () {
14
14
  __assign = Object.assign || function (t) {
@@ -30,11 +30,11 @@ var __rest = void 0 && (void 0).__rest || function (s, e) {
30
30
  };
31
31
  var svgSize = {
32
32
  xs: 14,
33
- md: 20
33
+ sm: 20
34
34
  };
35
35
  var PasswordInput = exports.PasswordInput = /*#__PURE__*/(0, _react.forwardRef)(function (_a, ref) {
36
36
  var _b = _a.size,
37
- size = _b === void 0 ? 'md' : _b,
37
+ size = _b === void 0 ? 'xs' : _b,
38
38
  props = __rest(_a, ["size"]);
39
39
  var inputRef = (0, _react.useRef)(null);
40
40
  var _c = (0, _react.useState)(false),
@@ -7,8 +7,8 @@ exports.Textarea = void 0;
7
7
  var _jsxRuntime = require("react/jsx-runtime");
8
8
  var _classnames = _interopRequireDefault(require("classnames"));
9
9
  var _react = require("react");
10
- var _Label = require("../shared/label/Label");
11
10
  var _HintText = require("../shared/hintText/HintText");
11
+ var _Label = require("../shared/label/Label");
12
12
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
13
13
  var __assign = void 0 && (void 0).__assign || function () {
14
14
  __assign = Object.assign || function (t) {
@@ -32,7 +32,7 @@ var Textarea = exports.Textarea = /*#__PURE__*/(0, _react.forwardRef)(function (
32
32
  var _b;
33
33
  var className = _a.className,
34
34
  _c = _a.size,
35
- size = _c === void 0 ? 'md' : _c,
35
+ size = _c === void 0 ? 'xs' : _c,
36
36
  label = _a.label,
37
37
  required = _a.required,
38
38
  disabled = _a.disabled,
@@ -28,7 +28,7 @@ var __rest = void 0 && (void 0).__rest || function (s, e) {
28
28
  };
29
29
  var Radio = function (_a) {
30
30
  var _b = _a.size,
31
- size = _b === void 0 ? 'sm' : _b,
31
+ size = _b === void 0 ? 'xs' : _b,
32
32
  text = _a.text,
33
33
  supportText = _a.supportText,
34
34
  disabled = _a.disabled,
@@ -28,7 +28,7 @@ var __rest = void 0 && (void 0).__rest || function (s, e) {
28
28
  };
29
29
  var RadioInput = exports.RadioInput = /*#__PURE__*/(0, _react.forwardRef)(function (_a, ref) {
30
30
  var _b = _a.size,
31
- size = _b === void 0 ? 'sm' : _b,
31
+ size = _b === void 0 ? 'xs' : _b,
32
32
  disabled = _a.disabled,
33
33
  className = _a.className,
34
34
  _c = _a.destructive,
@@ -23,13 +23,14 @@ var __assign = void 0 && (void 0).__assign || function () {
23
23
  var HorizontalTab = function (_a) {
24
24
  var _b = _a.type,
25
25
  type = _b === void 0 ? 'button-primary' : _b,
26
- size = _a.size,
26
+ _c = _a.size,
27
+ size = _c === void 0 ? 'sm' : _c,
27
28
  activeTab = _a.activeTab,
28
29
  onClick = _a.onClick,
29
- _c = _a.fullWidth,
30
- fullWidth = _c === void 0 ? false : _c,
31
- _d = _a.menus,
32
- menus = _d === void 0 ? [] : _d;
30
+ _d = _a.fullWidth,
31
+ fullWidth = _d === void 0 ? false : _d,
32
+ _e = _a.menus,
33
+ menus = _e === void 0 ? [] : _e;
33
34
  var getTabGap = function (type) {
34
35
  var _a;
35
36
  var gap = {
@@ -29,7 +29,7 @@ var __rest = void 0 && (void 0).__rest || function (s, e) {
29
29
  var TabButton = function (_a) {
30
30
  var label = _a.label,
31
31
  _b = _a.size,
32
- size = _b === void 0 ? 'md' : _b,
32
+ size = _b === void 0 ? 'sm' : _b,
33
33
  tabButtonType = _a.tabButtonType,
34
34
  type = _a.type,
35
35
  _c = _a.isActive,
@@ -57,7 +57,7 @@ var VerticalTab = function (_a) {
57
57
  badgeInfo: menu.badgeInfo,
58
58
  isActive: isActive,
59
59
  tabButtonType: type,
60
- size: 'sm',
60
+ size: 'md',
61
61
  onClick: function () {
62
62
  var _a;
63
63
  return onClick === null || onClick === void 0 ? void 0 : onClick((_a = menu.id) !== null && _a !== void 0 ? _a : '');
@@ -23,16 +23,16 @@ import React, { createElement } from 'react';
23
23
  import { COLOR } from '../../../constant/color';
24
24
  import { Dot } from '../dot';
25
25
  var svgSize = {
26
- xs: 12,
26
+ xxs: 12,
27
+ xs: 16,
27
28
  sm: 16,
28
- md: 16,
29
- lg: 20
29
+ md: 20
30
30
  };
31
31
  var dotSize = {
32
+ xxs: 'sm',
32
33
  xs: 'sm',
33
- sm: 'sm',
34
- md: 'md',
35
- lg: 'md'
34
+ sm: 'md',
35
+ md: 'md'
36
36
  };
37
37
  export var ButtonGroup = function (_a) {
38
38
  var children = _a.children,
@@ -40,7 +40,7 @@ export var ButtonGroup = function (_a) {
40
40
  _b = _a.hasBorder,
41
41
  hasBorder = _b === void 0 ? true : _b,
42
42
  _c = _a.size,
43
- size = _c === void 0 ? 'lg' : _c,
43
+ size = _c === void 0 ? 'xs' : _c,
44
44
  _d = _a.onlyIcon,
45
45
  onlyIcon = _d === void 0 ? false : _d,
46
46
  _e = _a.disabled,
@@ -68,7 +68,7 @@ ButtonGroup.Item = function (_a) {
68
68
  as = _c === void 0 ? 'button' : _c,
69
69
  label = _a.label,
70
70
  _d = _a.size,
71
- size = _d === void 0 ? 'md' : _d,
71
+ size = _d === void 0 ? 'xs' : _d,
72
72
  onlyIcon = _a.onlyIcon,
73
73
  icon = _a.icon,
74
74
  disabled = _a.disabled,
@@ -21,7 +21,7 @@ import classNames from 'classnames';
21
21
  import { CheckboxInput } from './CheckboxInput';
22
22
  export var Checkbox = function (_a) {
23
23
  var _b = _a.size,
24
- size = _b === void 0 ? 'sm' : _b,
24
+ size = _b === void 0 ? 'xs' : _b,
25
25
  _c = _a.indeterminate,
26
26
  indeterminate = _c === void 0 ? false : _c,
27
27
  text = _a.text,
@@ -24,7 +24,7 @@ import { forwardRef } from 'react';
24
24
  */
25
25
  export var CheckboxInput = /*#__PURE__*/forwardRef(function (_a, ref) {
26
26
  var _b = _a.size,
27
- size = _b === void 0 ? 'sm' : _b,
27
+ size = _b === void 0 ? 'xs' : _b,
28
28
  _c = _a.indeterminate,
29
29
  indeterminate = _c === void 0 ? false : _c,
30
30
  disabled = _a.disabled,
@@ -27,7 +27,7 @@ export var DatePicker = /*#__PURE__*/forwardRef(function (_a, ref) {
27
27
  shouldFocus = _b === void 0 ? true : _b,
28
28
  currentDate = _a.currentDate,
29
29
  _c = _a.size,
30
- size = _c === void 0 ? 'sm' : _c,
30
+ size = _c === void 0 ? 'xs' : _c,
31
31
  onChangeDate = _a.onChangeDate,
32
32
  datePickerOptions = _a.datePickerOptions,
33
33
  attrs = __rest(_a, ["shouldFocus", "currentDate", "size", "onChangeDate", "datePickerOptions"]);
@@ -43,7 +43,7 @@ export var DatePicker = /*#__PURE__*/forwardRef(function (_a, ref) {
43
43
  onChange: onChangeDateHandler,
44
44
  allowInvalidPreload: true
45
45
  }, datePickerOptions);
46
- var svgSize = size === 'sm' ? 14 : 16;
46
+ var svgSize = size === 'xs' ? 14 : 16;
47
47
  return _jsxs("div", __assign({
48
48
  className: classNames('ncua-date-picker', "ncua-date-picker--".concat(size), {
49
49
  'ncua-date-picker--disabled': attrs.disabled
@@ -15,8 +15,10 @@ import { ButtonGroup } from '../button';
15
15
  import { getDateFormat, getSubtractDate } from '../../utils/date-picker';
16
16
  import { PERIOD_ITEM } from '../../constant/date-picker';
17
17
  export var RangeDatePickerWithButtons = function (_a) {
18
- var _b = _a.buttonGroupSize,
19
- buttonGroupSize = _b === void 0 ? 'sm' : _b,
18
+ var _b = _a.fixedEndDate,
19
+ fixedEndDate = _b === void 0 ? getDateFormat() : _b,
20
+ _c = _a.buttonGroupSize,
21
+ buttonGroupSize = _c === void 0 ? 'sm' : _c,
20
22
  currentButtonId = _a.currentButtonId,
21
23
  setCurrentButtonId = _a.setCurrentButtonId,
22
24
  startDateOptions = _a.startDateOptions,
@@ -39,9 +41,7 @@ export var RangeDatePickerWithButtons = function (_a) {
39
41
  unit: currentPeriodItem.unit
40
42
  }));
41
43
  startDateOptions.onChangeDate(startDate);
42
- if (endDateOptions.currentDate !== getDateFormat()) {
43
- endDateOptions.onChangeDate(getDateFormat());
44
- }
44
+ endDateOptions.onChangeDate(fixedEndDate);
45
45
  };
46
46
  var handleOnChangeDate = function (date, type) {
47
47
  type === 'START' ? startDateOptions.onChangeDate(date) : endDateOptions.onChangeDate(date);
@@ -18,22 +18,22 @@ var __rest = this && this.__rest || function (s, e) {
18
18
  };
19
19
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
20
20
  import Icon from '@ncds/ui-admin-icon';
21
- import { forwardRef } from 'react';
22
21
  import classNames from 'classnames';
22
+ import { forwardRef } from 'react';
23
23
  import { COLOR } from '../../../constant/color';
24
- import { Label } from '../shared/label/Label';
25
24
  import { HintText } from '../shared/hintText/HintText';
25
+ import { Label } from '../shared/label/Label';
26
26
  var validationSvgSize = {
27
27
  xs: 14,
28
- md: 16
28
+ sm: 16
29
29
  };
30
30
  var generalSvgSize = {
31
31
  xs: 14,
32
- md: 20
32
+ sm: 20
33
33
  };
34
34
  export var InputBase = /*#__PURE__*/forwardRef(function (_a, ref) {
35
35
  var _b = _a.size,
36
- size = _b === void 0 ? 'md' : _b,
36
+ size = _b === void 0 ? 'xs' : _b,
37
37
  required = _a.required,
38
38
  label = _a.label,
39
39
  hintText = _a.hintText,
@@ -17,17 +17,17 @@ var __rest = this && this.__rest || function (s, e) {
17
17
  return t;
18
18
  };
19
19
  import { jsx as _jsx } from "react/jsx-runtime";
20
- import { forwardRef, useEffect, useRef, useState } from 'react';
21
- import { InputBase } from './InputBase';
22
20
  import { Eye, EyeOff } from '@ncds/ui-admin-icon';
23
21
  import classNames from 'classnames';
22
+ import { forwardRef, useEffect, useRef, useState } from 'react';
23
+ import { InputBase } from './InputBase';
24
24
  var svgSize = {
25
25
  xs: 14,
26
- md: 20
26
+ sm: 20
27
27
  };
28
28
  export var PasswordInput = /*#__PURE__*/forwardRef(function (_a, ref) {
29
29
  var _b = _a.size,
30
- size = _b === void 0 ? 'md' : _b,
30
+ size = _b === void 0 ? 'xs' : _b,
31
31
  props = __rest(_a, ["size"]);
32
32
  var inputRef = useRef(null);
33
33
  var _c = useState(false),
@@ -19,13 +19,13 @@ var __rest = this && this.__rest || function (s, e) {
19
19
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
20
20
  import classNames from 'classnames';
21
21
  import { forwardRef, useEffect, useRef, useState } from 'react';
22
- import { Label } from '../shared/label/Label';
23
22
  import { HintText } from '../shared/hintText/HintText';
23
+ import { Label } from '../shared/label/Label';
24
24
  export var Textarea = /*#__PURE__*/forwardRef(function (_a, ref) {
25
25
  var _b;
26
26
  var className = _a.className,
27
27
  _c = _a.size,
28
- size = _c === void 0 ? 'md' : _c,
28
+ size = _c === void 0 ? 'xs' : _c,
29
29
  label = _a.label,
30
30
  required = _a.required,
31
31
  disabled = _a.disabled,
@@ -21,7 +21,7 @@ import classNames from 'classnames';
21
21
  import { RadioInput } from './RadioInput';
22
22
  export var Radio = function (_a) {
23
23
  var _b = _a.size,
24
- size = _b === void 0 ? 'sm' : _b,
24
+ size = _b === void 0 ? 'xs' : _b,
25
25
  text = _a.text,
26
26
  supportText = _a.supportText,
27
27
  disabled = _a.disabled,
@@ -21,7 +21,7 @@ import classNames from 'classnames';
21
21
  import { forwardRef } from 'react';
22
22
  export var RadioInput = /*#__PURE__*/forwardRef(function (_a, ref) {
23
23
  var _b = _a.size,
24
- size = _b === void 0 ? 'sm' : _b,
24
+ size = _b === void 0 ? 'xs' : _b,
25
25
  disabled = _a.disabled,
26
26
  className = _a.className,
27
27
  _c = _a.destructive,
@@ -16,13 +16,14 @@ import { TabButton } from './TabButton';
16
16
  export var HorizontalTab = function (_a) {
17
17
  var _b = _a.type,
18
18
  type = _b === void 0 ? 'button-primary' : _b,
19
- size = _a.size,
19
+ _c = _a.size,
20
+ size = _c === void 0 ? 'sm' : _c,
20
21
  activeTab = _a.activeTab,
21
22
  onClick = _a.onClick,
22
- _c = _a.fullWidth,
23
- fullWidth = _c === void 0 ? false : _c,
24
- _d = _a.menus,
25
- menus = _d === void 0 ? [] : _d;
23
+ _d = _a.fullWidth,
24
+ fullWidth = _d === void 0 ? false : _d,
25
+ _e = _a.menus,
26
+ menus = _e === void 0 ? [] : _e;
26
27
  var getTabGap = function (type) {
27
28
  var _a;
28
29
  var gap = {
@@ -22,7 +22,7 @@ import { Badge } from '../badge/Badge';
22
22
  export var TabButton = function (_a) {
23
23
  var label = _a.label,
24
24
  _b = _a.size,
25
- size = _b === void 0 ? 'md' : _b,
25
+ size = _b === void 0 ? 'sm' : _b,
26
26
  tabButtonType = _a.tabButtonType,
27
27
  type = _a.type,
28
28
  _c = _a.isActive,
@@ -50,7 +50,7 @@ export var VerticalTab = function (_a) {
50
50
  badgeInfo: menu.badgeInfo,
51
51
  isActive: isActive,
52
52
  tabButtonType: type,
53
- size: 'sm',
53
+ size: 'md',
54
54
  onClick: function () {
55
55
  var _a;
56
56
  return onClick === null || onClick === void 0 ? void 0 : onClick((_a = menu.id) !== null && _a !== void 0 ? _a : '');
@@ -1,7 +1,7 @@
1
1
  import React, { ComponentProps } from 'react';
2
2
  import { Size } from '../../../constant/size';
3
3
  import { SideSlotType } from '../../types/side-slot';
4
- export type ButtonGroupSize = Extract<Size, 'xs' | 'sm' | 'md' | 'lg'>;
4
+ export type ButtonGroupSize = Extract<Size, 'xxs' | 'xs' | 'sm' | 'md'>;
5
5
  interface SideCommon {
6
6
  position?: 'leading' | 'trailing';
7
7
  }
@@ -1,7 +1,7 @@
1
1
  import { ChangeEvent, ComponentPropsWithRef } from 'react';
2
2
  import { Size } from '../../../constant/size';
3
3
  export interface CheckboxInputProps extends Omit<ComponentPropsWithRef<'input'>, 'size' | 'ref'> {
4
- size?: Extract<Size, 'sm' | 'md'>;
4
+ size?: Extract<Size, 'xs' | 'sm'>;
5
5
  indeterminate?: boolean;
6
6
  destructive?: boolean;
7
7
  onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
@@ -1,8 +1,8 @@
1
1
  import { Options } from 'flatpickr/dist/types/options';
2
- import { DateTimePickerProps, DateTimePickerHandle } from 'react-flatpickr';
2
+ import { DateTimePickerHandle, DateTimePickerProps } from 'react-flatpickr';
3
3
  import { Size } from '../../../constant/size';
4
4
  export type DatePickerProps = {
5
- size?: Extract<Size, 'sm' | 'md'>;
5
+ size?: Extract<Size, 'xs' | 'sm'>;
6
6
  shouldFocus?: boolean;
7
7
  currentDate: string;
8
8
  datePickerOptions?: Options;
@@ -4,11 +4,12 @@ import { ButtonGroupSize } from '../button';
4
4
  import { PERIOD_ITEM } from '../../constant/date-picker';
5
5
  export type PeriodKeyType = keyof typeof PERIOD_ITEM;
6
6
  type RangeDatePickerWithButtonsProps = {
7
+ fixedEndDate?: string;
7
8
  buttonGroupSize?: ButtonGroupSize;
8
9
  currentButtonId: PeriodKeyType;
9
10
  setCurrentButtonId: Dispatch<SetStateAction<PeriodKeyType>>;
10
11
  periodKeys: PeriodKeyType[];
11
12
  } & RangeDatePickerProps;
12
- export declare const RangeDatePickerWithButtons: ({ buttonGroupSize, currentButtonId, setCurrentButtonId, startDateOptions, endDateOptions, validationOption, periodKeys, onDateValidation, }: RangeDatePickerWithButtonsProps) => import("react/jsx-runtime").JSX.Element;
13
+ export declare const RangeDatePickerWithButtons: ({ fixedEndDate, buttonGroupSize, currentButtonId, setCurrentButtonId, startDateOptions, endDateOptions, validationOption, periodKeys, onDateValidation, }: RangeDatePickerWithButtonsProps) => import("react/jsx-runtime").JSX.Element;
13
14
  export {};
14
15
  //# sourceMappingURL=RangeDatePickerWithButtons.d.ts.map
@@ -30,7 +30,7 @@ interface InputBaseCommonProps extends Omit<React.InputHTMLAttributes<HTMLInputE
30
30
  required?: boolean;
31
31
  label?: string;
32
32
  hintText?: string;
33
- size?: Extract<Size, 'xs' | 'md'>;
33
+ size?: Extract<Size, 'xs' | 'sm'>;
34
34
  disabled?: boolean;
35
35
  validation?: boolean;
36
36
  destructive?: boolean;
@@ -2,7 +2,7 @@ import { ComponentPropsWithRef } from 'react';
2
2
  import { Size } from '../../../constant/size';
3
3
  interface TextareaProps extends ComponentPropsWithRef<'textarea'> {
4
4
  className?: string;
5
- size?: Extract<Size, 'sm' | 'md'>;
5
+ size?: Extract<Size, 'xs' | 'sm'>;
6
6
  label?: string;
7
7
  hintText?: string;
8
8
  required?: boolean;
@@ -1,7 +1,7 @@
1
1
  import { ChangeEvent, ComponentPropsWithRef } from 'react';
2
2
  import { Size } from '../../../constant/size';
3
3
  export interface RadioInputProps extends Omit<ComponentPropsWithRef<'input'>, 'size' | 'ref'> {
4
- size?: Extract<Size, 'sm' | 'md'>;
4
+ size?: Extract<Size, 'xs' | 'sm'>;
5
5
  destructive?: boolean;
6
6
  onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
7
7
  }
@@ -1,7 +1,7 @@
1
- import { TabButtonProps, TabType } from './TabButton';
1
+ import { TabButtonProps, TabSize, TabType } from './TabButton';
2
2
  export type HorizontalTabProps = {
3
3
  type?: Exclude<TabType, 'line-vertical'>;
4
- size?: 'xs' | 'sm' | 'md';
4
+ size?: TabSize;
5
5
  activeTab?: string;
6
6
  fullWidth?: boolean;
7
7
  menus?: Array<TabButtonProps>;
@@ -1,6 +1,6 @@
1
1
  import { AnchorHTMLAttributes, ButtonHTMLAttributes, ReactNode } from 'react';
2
2
  import { BadgeProps } from '../badge/Badge';
3
- export type TabSize = 'xs' | 'sm' | 'md';
3
+ export type TabSize = 'sm' | 'md' | 'lg';
4
4
  export type TabType = 'button-primary' | 'button-white' | 'underline' | 'underline-fill' | 'line-vertical';
5
5
  interface CommonProps {
6
6
  id?: string;
@@ -513,6 +513,10 @@ button {
513
513
  box-sizing: border-box;
514
514
  background-color: var(--base-white);
515
515
  gap: 8px;
516
+ padding: 4px 16px;
517
+ font-size: var(--font-size-xs);
518
+ line-height: var(--line-heights-xs);
519
+ font-weight: var(--font-weights-commerce-sans-1);
516
520
  }
517
521
  .ncua-button-group__item[href] {
518
522
  text-decoration: none;
@@ -542,67 +546,74 @@ button {
542
546
  height: 12px;
543
547
  background-color: var(--gray-200);
544
548
  }
545
- .ncua-button-group--xs .ncua-button-group__item {
549
+ .ncua-button-group__item:where(.is-only-icon) {
550
+ padding: 6px;
551
+ }
552
+ :where(.ncua-button-group.has-border) {
553
+ border-radius: 6px;
554
+ }
555
+
556
+ .ncua-button-group--xxs .ncua-button-group__item {
546
557
  padding: 4px 12px;
547
558
  font-size: var(--font-size-xxxs);
548
559
  line-height: var(--line-heights-xxxs);
549
560
  font-weight: var(--font-weights-commerce-sans-1);
550
561
  }
551
- :where(.ncua-button-group--xs .ncua-button-group__item.is-current, .ncua-button-group--xs .ncua-button-group__item:hover, .ncua-button-group--xs .ncua-button-group__item:focus) {
562
+ :where(.ncua-button-group--xxs .ncua-button-group__item.is-current, .ncua-button-group--xxs .ncua-button-group__item:hover, .ncua-button-group--xxs .ncua-button-group__item:focus) {
552
563
  font-weight: var(--font-weights-commerce-sans-1);
553
564
  }
554
- .ncua-button-group--xs .ncua-button-group__item:where(.is-only-icon) {
565
+ .ncua-button-group--xxs .ncua-button-group__item:where(.is-only-icon) {
555
566
  padding: 6px;
556
567
  }
557
- :where(.ncua-button-group--xs.has-border) {
568
+ :where(.ncua-button-group--xxs.has-border) {
558
569
  border-radius: 4px;
559
570
  }
560
571
 
561
- .ncua-button-group--sm .ncua-button-group__item {
572
+ .ncua-button-group--xs .ncua-button-group__item {
562
573
  padding: 4px 16px;
563
574
  font-size: var(--font-size-xs);
564
575
  line-height: var(--line-heights-xs);
565
576
  font-weight: var(--font-weights-commerce-sans-1);
566
577
  }
567
- :where(.ncua-button-group--sm .ncua-button-group__item.is-current, .ncua-button-group--sm .ncua-button-group__item:hover, .ncua-button-group--sm .ncua-button-group__item:focus) {
578
+ :where(.ncua-button-group--xs .ncua-button-group__item.is-current, .ncua-button-group--xs .ncua-button-group__item:hover, .ncua-button-group--xs .ncua-button-group__item:focus) {
568
579
  font-weight: var(--font-weights-commerce-sans-1);
569
580
  }
570
- .ncua-button-group--sm .ncua-button-group__item:where(.is-only-icon) {
581
+ .ncua-button-group--xs .ncua-button-group__item:where(.is-only-icon) {
571
582
  padding: 6px;
572
583
  }
573
- :where(.ncua-button-group--sm.has-border) {
584
+ :where(.ncua-button-group--xs.has-border) {
574
585
  border-radius: 6px;
575
586
  }
576
587
 
577
- .ncua-button-group--md .ncua-button-group__item {
588
+ .ncua-button-group--sm .ncua-button-group__item {
578
589
  padding: 6px 16px;
579
590
  font-size: var(--font-size-sm);
580
591
  line-height: var(--line-heights-sm);
581
592
  font-weight: var(--font-weights-commerce-sans-1);
582
593
  }
583
- :where(.ncua-button-group--md .ncua-button-group__item.is-current, .ncua-button-group--md .ncua-button-group__item:hover, .ncua-button-group--md .ncua-button-group__item:focus) {
594
+ :where(.ncua-button-group--sm .ncua-button-group__item.is-current, .ncua-button-group--sm .ncua-button-group__item:hover, .ncua-button-group--sm .ncua-button-group__item:focus) {
584
595
  font-weight: var(--font-weights-commerce-sans-1);
585
596
  }
586
- .ncua-button-group--md .ncua-button-group__item:where(.is-only-icon) {
597
+ .ncua-button-group--sm .ncua-button-group__item:where(.is-only-icon) {
587
598
  padding: 10px;
588
599
  }
589
- :where(.ncua-button-group--md.has-border) {
600
+ :where(.ncua-button-group--sm.has-border) {
590
601
  border-radius: 6px;
591
602
  }
592
603
 
593
- .ncua-button-group--lg .ncua-button-group__item {
604
+ .ncua-button-group--md .ncua-button-group__item {
594
605
  padding: 8px 16px;
595
606
  font-size: var(--font-size-sm);
596
607
  line-height: var(--line-heights-sm);
597
608
  font-weight: var(--font-weights-commerce-sans-2);
598
609
  }
599
- :where(.ncua-button-group--lg .ncua-button-group__item.is-current, .ncua-button-group--lg .ncua-button-group__item:hover, .ncua-button-group--lg .ncua-button-group__item:focus) {
600
- font-weight: var(--font-weights-commerce-sans-2);
610
+ :where(.ncua-button-group--md .ncua-button-group__item.is-current, .ncua-button-group--md .ncua-button-group__item:hover, .ncua-button-group--md .ncua-button-group__item:focus) {
611
+ font-weight: var(--font-weights-commerce-sans-1);
601
612
  }
602
- .ncua-button-group--lg .ncua-button-group__item:where(.is-only-icon) {
613
+ .ncua-button-group--md .ncua-button-group__item:where(.is-only-icon) {
603
614
  padding: 10px;
604
615
  }
605
- :where(.ncua-button-group--lg.has-border) {
616
+ :where(.ncua-button-group--md.has-border) {
606
617
  border-radius: 8px;
607
618
  }
608
619
 
@@ -755,8 +766,8 @@ button {
755
766
  background-color: var(--gray-50);
756
767
  border-radius: 4px;
757
768
  }
758
- .ncua-checkbox-field--md .ncua-checkbox-field__text,
759
- .ncua-checkbox-field--md .ncua-checkbox-field__support-text {
769
+ .ncua-checkbox-field--sm .ncua-checkbox-field__text,
770
+ .ncua-checkbox-field--sm .ncua-checkbox-field__support-text {
760
771
  font-size: var(--font-size-sm);
761
772
  line-height: var(--line-heights-sm);
762
773
  }
@@ -767,7 +778,7 @@ button {
767
778
  .ncua-checkbox-field.has-text .ncua-checkbox-field__input {
768
779
  transform: translateY(1px);
769
780
  }
770
- .ncua-checkbox-field.has-text.ncua-checkbox-field--md .ncua-checkbox-field__input {
781
+ .ncua-checkbox-field.has-text.ncua-checkbox-field--sm .ncua-checkbox-field__input {
771
782
  transform: translateY(3px);
772
783
  }
773
784
 
@@ -1182,6 +1193,8 @@ button {
1182
1193
  flex-direction: column;
1183
1194
  line-height: normal;
1184
1195
  vertical-align: top;
1196
+ gap: 4px;
1197
+ font-size: var(--font-size-xxs);
1185
1198
  }
1186
1199
  .ncua-input > *:last-child {
1187
1200
  margin-bottom: 0;
@@ -1208,11 +1221,12 @@ button {
1208
1221
  align-items: center;
1209
1222
  background-color: var(--base-white);
1210
1223
  border: 1px solid var(--gray-200);
1224
+ padding: 4px 10px;
1211
1225
  }
1212
1226
  .ncua-input__field--xs {
1213
1227
  padding: 4px 10px;
1214
1228
  }
1215
- .ncua-input__field--md {
1229
+ .ncua-input__field--sm {
1216
1230
  padding: 6px 12px;
1217
1231
  }
1218
1232
  .ncua-input__field {
@@ -1234,8 +1248,8 @@ button {
1234
1248
  padding: 0;
1235
1249
  border: 0;
1236
1250
  color: var(--gray-700);
1237
- font-size: var(--font-size-sm);
1238
- line-height: var(--line-heights-sm);
1251
+ font-size: var(--font-size-xs);
1252
+ line-height: var(--line-heights-xs);
1239
1253
  background-color: var(--base-white);
1240
1254
  }
1241
1255
  .ncua-input input::-webkit-input-placeholder,
@@ -1272,17 +1286,17 @@ button {
1272
1286
  font-size: var(--font-size-xs);
1273
1287
  line-height: var(--line-heights-xs);
1274
1288
  }
1275
- .ncua-input--md {
1289
+ .ncua-input--sm {
1276
1290
  gap: 6px;
1277
1291
  }
1278
- .ncua-input--md input {
1292
+ .ncua-input--sm input {
1279
1293
  font-size: var(--font-size-sm);
1280
1294
  line-height: var(--line-heights-sm);
1281
1295
  }
1282
1296
  .ncua-input--xs {
1283
1297
  font-size: var(--font-size-xxs);
1284
1298
  }
1285
- .ncua-input--md {
1299
+ .ncua-input--sm {
1286
1300
  font-size: var(--font-size-xs);
1287
1301
  }
1288
1302
  .ncua-input input:-webkit-autofill, .ncua-input input:-webkit-autofill:hover, .ncua-input input:-webkit-autofill:focus, .ncua-input input:-webkit-autofill:active {
@@ -1362,11 +1376,12 @@ button {
1362
1376
  align-items: center;
1363
1377
  background-color: var(--base-white);
1364
1378
  border: 1px solid var(--gray-200);
1379
+ padding: 4px 10px;
1365
1380
  }
1366
1381
  .ncua-input__leading-text-wrap .ncua-input__leading-text--xs {
1367
1382
  padding: 4px 10px;
1368
1383
  }
1369
- .ncua-input__leading-text-wrap .ncua-input__leading-text--md {
1384
+ .ncua-input__leading-text-wrap .ncua-input__leading-text--sm {
1370
1385
  padding: 6px 12px;
1371
1386
  }
1372
1387
  .ncua-input__leading-text-wrap .ncua-input__leading-text {
@@ -1386,11 +1401,16 @@ button {
1386
1401
  align-items: center;
1387
1402
  background-color: var(--base-white);
1388
1403
  border: 1px solid var(--gray-200);
1404
+ padding: 4px 10px;
1405
+ padding: 5px 10px;
1406
+ font-size: var(--font-size-xs);
1407
+ line-height: var(--line-heights-xs);
1408
+ font-weight: var(--font-weights-commerce-sans-1);
1389
1409
  }
1390
1410
  .ncua-input__trailing-button .ncua-input__button--xs {
1391
1411
  padding: 4px 10px;
1392
1412
  }
1393
- .ncua-input__trailing-button .ncua-input__button--md {
1413
+ .ncua-input__trailing-button .ncua-input__button--sm {
1394
1414
  padding: 6px 12px;
1395
1415
  }
1396
1416
  .ncua-input__trailing-button .ncua-input__button {
@@ -1408,7 +1428,7 @@ button {
1408
1428
  line-height: var(--line-heights-xs);
1409
1429
  font-weight: var(--font-weights-commerce-sans-1);
1410
1430
  }
1411
- .ncua-input__trailing-button .ncua-input__button--md {
1431
+ .ncua-input__trailing-button .ncua-input__button--sm {
1412
1432
  padding: 7px 14px;
1413
1433
  font-size: var(--font-size-sm);
1414
1434
  line-height: var(--line-heights-sm);
@@ -1423,19 +1443,24 @@ button {
1423
1443
  .ncua-input--textarea {
1424
1444
  gap: 4px;
1425
1445
  width: 100%;
1446
+ font-size: var(--font-size-xxs);
1426
1447
  }
1427
- .ncua-input--textarea--sm textarea {
1448
+ .ncua-input--textarea textarea {
1449
+ font-size: var(--font-size-xs);
1450
+ line-height: var(--line-heights-xs);
1451
+ }
1452
+ .ncua-input--textarea--xs textarea {
1428
1453
  font-size: var(--font-size-xs);
1429
1454
  line-height: var(--line-heights-xs);
1430
1455
  }
1431
- .ncua-input--textarea--md textarea {
1456
+ .ncua-input--textarea--sm textarea {
1432
1457
  font-size: var(--font-size-sm);
1433
1458
  line-height: var(--line-heights-sm);
1434
1459
  }
1435
- .ncua-input--textarea--sm {
1460
+ .ncua-input--textarea--xs {
1436
1461
  font-size: var(--font-size-xxs);
1437
1462
  }
1438
- .ncua-input--textarea--md {
1463
+ .ncua-input--textarea--sm {
1439
1464
  font-size: var(--font-size-xs);
1440
1465
  }
1441
1466
  .ncua-input--textarea .ncua-input__content {
@@ -2065,7 +2090,7 @@ button {
2065
2090
  .ncua-radio-field__support-text {
2066
2091
  color: var(--gray-400);
2067
2092
  }
2068
- .ncua-radio-field--md .ncua-radio-field__text, .ncua-radio-field--md .ncua-radio-field__support-text {
2093
+ .ncua-radio-field--sm .ncua-radio-field__text, .ncua-radio-field--sm .ncua-radio-field__support-text {
2069
2094
  font-size: var(--font-size-sm);
2070
2095
  line-height: var(--line-heights-sm);
2071
2096
  }
@@ -2076,7 +2101,7 @@ button {
2076
2101
  .ncua-radio-field.has-text .ncua-radio-field__input {
2077
2102
  transform: translateY(1px);
2078
2103
  }
2079
- .ncua-radio-field.has-text.ncua-radio-field--md .ncua-radio-field__input {
2104
+ .ncua-radio-field.has-text.ncua-radio-field--sm .ncua-radio-field__input {
2080
2105
  transform: translateY(3px);
2081
2106
  }
2082
2107
 
@@ -2759,6 +2784,8 @@ button {
2759
2784
  .ncua-date-picker {
2760
2785
  position: relative;
2761
2786
  display: inline-flex;
2787
+ width: 138px;
2788
+ height: 28px;
2762
2789
  }
2763
2790
  .ncua-date-picker .flatpickr-wrapper {
2764
2791
  border: 1px solid var(--gray-200);
@@ -2767,6 +2794,9 @@ button {
2767
2794
  background: var(--base-white);
2768
2795
  box-shadow: var(--shadow-xs);
2769
2796
  color: var(--gray-700);
2797
+ height: 100%;
2798
+ padding: 5px 10px;
2799
+ font-size: var(--font-size-xs);
2770
2800
  }
2771
2801
  .ncua-date-picker .flatpickr-wrapper:focus-within {
2772
2802
  border-color: var(--gray-400);
@@ -2809,6 +2839,7 @@ button {
2809
2839
  border-radius: 8px;
2810
2840
  left: 0;
2811
2841
  box-shadow: 1px 0 0 var(--gray-200), -1px 0 0 var(--gray-200), 0 1px 0 var(--gray-200), 0 -1px 0 var(--gray-200), 0 3px 13px rgba(0, 0, 0, 0.08);
2842
+ width: 248px;
2812
2843
  }
2813
2844
  .ncua-date-picker .flatpickr-calendar::before, .ncua-date-picker .flatpickr-calendar::after {
2814
2845
  content: none;
@@ -2824,6 +2855,7 @@ button {
2824
2855
  justify-content: space-between;
2825
2856
  margin-inline: auto;
2826
2857
  margin-block-end: 12px;
2858
+ width: 224px;
2827
2859
  }
2828
2860
  .ncua-date-picker .flatpickr-months .flatpickr-prev-month,
2829
2861
  .ncua-date-picker .flatpickr-months .flatpickr-next-month {
@@ -2856,6 +2888,10 @@ button {
2856
2888
  padding-block-start: 6px;
2857
2889
  gap: 4px;
2858
2890
  }
2891
+ .ncua-date-picker .flatpickr-current-month .flatpickr-monthDropdown-months,
2892
+ .ncua-date-picker .flatpickr-current-month .cur-year {
2893
+ font-size: var(--font-size-lg);
2894
+ }
2859
2895
  .ncua-date-picker .flatpickr-monthDropdown-months {
2860
2896
  margin: 0;
2861
2897
  padding: 0;
@@ -2871,13 +2907,25 @@ button {
2871
2907
  }
2872
2908
  .ncua-date-picker .flatpickr-weekdays {
2873
2909
  margin-inline: auto;
2910
+ width: 224px;
2874
2911
  }
2875
2912
  .ncua-date-picker .dayContainer {
2876
2913
  row-gap: 4px;
2914
+ max-width: 224px;
2915
+ min-width: 224px;
2916
+ column-gap: 0;
2917
+ font-size: 13px;
2877
2918
  }
2878
2919
  .ncua-date-picker .flatpickr-days {
2879
2920
  justify-content: center;
2880
2921
  padding-block-end: 12px;
2922
+ width: 224px;
2923
+ }
2924
+ .ncua-date-picker .flatpickr-day {
2925
+ max-width: 32px;
2926
+ width: 32px;
2927
+ height: 32px;
2928
+ line-height: 32px;
2881
2929
  }
2882
2930
  .ncua-date-picker .flatpickr-day:hover {
2883
2931
  background-color: var(--gray-50);
@@ -2894,70 +2942,68 @@ button {
2894
2942
  .ncua-date-picker .flatpickr-day.today {
2895
2943
  border-color: var(--gray-600);
2896
2944
  }
2897
- .ncua-date-picker--sm {
2945
+ .ncua-date-picker--xs {
2898
2946
  width: 138px;
2899
2947
  height: 28px;
2900
2948
  }
2901
- .ncua-date-picker--sm .flatpickr-wrapper {
2902
- height: 100%;
2949
+ .ncua-date-picker--xs .flatpickr-wrapper {
2903
2950
  padding: 5px 10px;
2904
2951
  font-size: var(--font-size-xs);
2905
2952
  }
2906
- .ncua-date-picker--md {
2953
+ .ncua-date-picker--sm {
2907
2954
  width: 156px;
2908
2955
  height: 36px;
2909
2956
  }
2910
- .ncua-date-picker--md .flatpickr-wrapper {
2911
- height: 100%;
2957
+ .ncua-date-picker--sm .flatpickr-wrapper {
2912
2958
  padding: 7px 12px;
2913
2959
  font-size: var(--font-size-sm);
2914
2960
  }
2915
- .ncua-date-picker--sm .flatpickr-calendar {
2961
+ .ncua-date-picker--xs .flatpickr-calendar {
2916
2962
  width: 248px;
2917
2963
  }
2918
- .ncua-date-picker--sm .flatpickr-months,
2919
- .ncua-date-picker--sm .flatpickr-weekdays,
2920
- .ncua-date-picker--sm .flatpickr-days {
2964
+ .ncua-date-picker--xs .flatpickr-months,
2965
+ .ncua-date-picker--xs .flatpickr-weekdays,
2966
+ .ncua-date-picker--xs .flatpickr-days {
2921
2967
  width: 224px;
2922
2968
  }
2923
- .ncua-date-picker--sm .dayContainer {
2969
+ .ncua-date-picker--xs .dayContainer {
2924
2970
  max-width: 224px;
2925
2971
  min-width: 224px;
2926
2972
  column-gap: 0;
2927
2973
  font-size: 13px;
2928
2974
  }
2929
- .ncua-date-picker--sm .flatpickr-day {
2975
+ .ncua-date-picker--xs .flatpickr-day {
2930
2976
  max-width: 32px;
2931
2977
  width: 32px;
2932
2978
  height: 32px;
2933
2979
  line-height: 32px;
2934
2980
  }
2935
- .ncua-date-picker--sm .flatpickr-current-month .flatpickr-monthDropdown-months,
2936
- .ncua-date-picker--sm .flatpickr-current-month .cur-year {
2937
- font-size: var(--font-size-sm);
2981
+ .ncua-date-picker--xs .flatpickr-current-month .flatpickr-monthDropdown-months,
2982
+ .ncua-date-picker--xs .flatpickr-current-month .cur-year {
2983
+ font-size: var(--font-size-xs);
2938
2984
  }
2939
- .ncua-date-picker--md .flatpickr-calendar {
2985
+ .ncua-date-picker--sm .flatpickr-calendar {
2940
2986
  width: 343px;
2941
2987
  }
2942
- .ncua-date-picker--md .flatpickr-months,
2943
- .ncua-date-picker--md .flatpickr-weekdays,
2944
- .ncua-date-picker--md .flatpickr-days {
2988
+ .ncua-date-picker--sm .flatpickr-months,
2989
+ .ncua-date-picker--sm .flatpickr-weekdays,
2990
+ .ncua-date-picker--sm .flatpickr-days {
2945
2991
  width: 311px;
2946
2992
  }
2947
- .ncua-date-picker--md .dayContainer {
2993
+ .ncua-date-picker--sm .dayContainer {
2948
2994
  max-width: 311px;
2949
2995
  min-width: 311px;
2950
2996
  column-gap: 9.83px;
2951
2997
  font-size: 14px;
2952
2998
  }
2953
- .ncua-date-picker--md .flatpickr-day {
2999
+ .ncua-date-picker--sm .flatpickr-day {
2954
3000
  max-width: 36px;
2955
3001
  width: 36px;
2956
3002
  height: 36px;
2957
3003
  line-height: 36px;
2958
3004
  }
2959
- .ncua-date-picker--md .flatpickr-current-month .flatpickr-monthDropdown-months,
2960
- .ncua-date-picker--md .flatpickr-current-month .cur-year {
3005
+ .ncua-date-picker--sm .flatpickr-current-month .flatpickr-monthDropdown-months,
3006
+ .ncua-date-picker--sm .flatpickr-current-month .cur-year {
2961
3007
  font-size: var(--font-size-lg);
2962
3008
  }
2963
3009
  .ncua-date-picker--disabled .flatpickr-wrapper,
@@ -3348,21 +3394,24 @@ button {
3348
3394
  border-radius: 6px;
3349
3395
  cursor: pointer;
3350
3396
  background-color: transparent;
3397
+ padding: 5px 12px;
3398
+ height: 34px;
3399
+ font-size: var(--font-size-xs);
3351
3400
  }
3352
3401
  .ncua-tab-button:hover, .ncua-tab-button.is-active {
3353
3402
  color: var(--gray-700);
3354
3403
  }
3355
- .ncua-tab-button--xs {
3404
+ .ncua-tab-button--sm {
3356
3405
  padding: 5px 12px;
3357
3406
  height: 34px;
3358
3407
  font-size: var(--font-size-xs);
3359
3408
  }
3360
- .ncua-tab-button--sm {
3409
+ .ncua-tab-button--md {
3361
3410
  padding: 7px 12px;
3362
3411
  height: 38px;
3363
3412
  font-size: var(--font-size-sm);
3364
3413
  }
3365
- .ncua-tab-button--md {
3414
+ .ncua-tab-button--lg {
3366
3415
  padding: 9px 14px;
3367
3416
  height: 44px;
3368
3417
  font-size: var(--font-size-md);
@@ -3373,15 +3422,19 @@ button {
3373
3422
  .ncua-tab-button--button-primary:focus {
3374
3423
  box-shadow: var(--focus-ring-4px-gray-100);
3375
3424
  }
3376
- .ncua-tab-button--button-white.ncua-tab-button--xs {
3425
+ .ncua-tab-button--button-white {
3377
3426
  padding: 5px 12px;
3378
3427
  height: 28px;
3379
3428
  }
3380
3429
  .ncua-tab-button--button-white.ncua-tab-button--sm {
3430
+ padding: 5px 12px;
3431
+ height: 28px;
3432
+ }
3433
+ .ncua-tab-button--button-white.ncua-tab-button--md {
3381
3434
  padding: 7px 12px;
3382
3435
  height: 32px;
3383
3436
  }
3384
- .ncua-tab-button--button-white.ncua-tab-button--md {
3437
+ .ncua-tab-button--button-white.ncua-tab-button--lg {
3385
3438
  padding: 9px 14px;
3386
3439
  height: 40px;
3387
3440
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ncds/ui-admin",
3
- "version": "1.0.2",
3
+ "version": "1.1.1",
4
4
  "description": "nhn-commerce의 어드민 디자인 시스템입니다.",
5
5
  "scripts": {
6
6
  "barrel": "node barrel.js",