@sonic-equipment/ui 0.0.18 → 0.0.19

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 (2) hide show
  1. package/dist/index.js +2 -3
  2. package/package.json +2 -1
package/dist/index.js CHANGED
@@ -2,7 +2,6 @@ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
2
2
  import { forwardRef, useState, useEffect, createContext, useContext, Children, cloneElement, useRef, useCallback } from 'react';
3
3
  import { Button as Button$1, FieldError as FieldError$1, useContextProps, InputContext, Input as Input$1, Label as Label$1, NumberField as NumberField$1, Checkbox as Checkbox$1, Select as Select$1, SelectValue, Popover, ListBox, ListBoxItem, TextAreaContext, TextArea as TextArea$1, TextField as TextField$1 } from 'react-aria-components';
4
4
  import clsx from 'clsx';
5
- import styles$j from 'forms/checkbox/checkbox.module.css';
6
5
 
7
6
  function RightArrowFilledIcon(props) {
8
7
  return (jsx("svg", { height: "11", viewBox: "0 0 6 11", width: "6", xmlns: "http://www.w3.org/2000/svg", ...props, children: jsx("path", { d: "M.267 11a.263.263 0 0 1-.226-.402l3.463-5.467a1.2 1.2 0 0 0-.103-1.43L.602.432A.262.262 0 0 1 .805 0h2.181c.078 0 .153.034.203.093l2.081 2.43a3 3 0 0 1 .259 3.575L2.5 10.877a.267.267 0 0 1-.225.123H.266z", fill: "currentColor", fillRule: "evenodd" }) }));
@@ -256,9 +255,9 @@ function Checkbox({ _pseudo = 'none', children, className, isDisabled, isSelecte
256
255
  }
257
256
 
258
257
  function ColorCheckbox({ _pseudo = 'none', children, className, color, isDisabled, isSelected, onChange, value, }) {
259
- return (jsxs(Checkbox$1, { className: clsx(className, styles$j.checkbox, styles$j['color-checkbox'], styles$j[_pseudo]), isDisabled: isDisabled, isSelected: isSelected, onChange: onChange, style: {
258
+ return (jsxs(Checkbox$1, { className: clsx(className, styles$4.checkbox, styles$4['color-checkbox'], styles$4[_pseudo]), isDisabled: isDisabled, isSelected: isSelected, onChange: onChange, style: {
260
259
  '--selected-color': color,
261
- }, value: value, children: [jsx("div", { className: styles$j.box }), children] }));
260
+ }, value: value, children: [jsx("div", { className: styles$4.box }), children] }));
262
261
  }
263
262
 
264
263
  function ChevronDownSlim(props) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonic-equipment/ui",
3
- "version": "0.0.18",
3
+ "version": "0.0.19",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -41,6 +41,7 @@
41
41
  "devDependencies": {
42
42
  "@chromatic-com/storybook": "^1.3.3",
43
43
  "@csstools/postcss-global-data": "^2.1.1",
44
+ "@rollup/plugin-alias": "^5.1.0",
44
45
  "@rollup/plugin-commonjs": "^25.0.7",
45
46
  "@rollup/plugin-node-resolve": "^15.2.3",
46
47
  "@rollup/plugin-typescript": "^11.1.6",