@starasia/radio 2.0.0 → 2.0.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.
package/dist/radio.es.js CHANGED
@@ -130,7 +130,7 @@ input.starasia-radio-input-lg[type="radio"] {
130
130
  }
131
131
  };
132
132
  l(e);
133
- const c = (r) => {
133
+ const h = (r) => {
134
134
  const { size: a = "md", label: i, description: n, ...o } = r;
135
135
  return /* @__PURE__ */ t(
136
136
  "div",
@@ -155,7 +155,7 @@ const c = (r) => {
155
155
  {
156
156
  style: {
157
157
  display: "block",
158
- color: "#78867F",
158
+ color: "var(--sa-text-subtle, #8c8f97)",
159
159
  lineHeight: "initial"
160
160
  },
161
161
  children: n
@@ -167,5 +167,5 @@ const c = (r) => {
167
167
  );
168
168
  };
169
169
  export {
170
- c as Radio
170
+ h as Radio
171
171
  };
package/dist/radio.umd.js CHANGED
@@ -122,4 +122,4 @@ input.starasia-radio-input-lg[type="radio"] {
122
122
  height: calc(var(--sa-radio-height-lg) - 7px);
123
123
  }
124
124
  }
125
- `,t="starasia-radio-styles";(o=>{if(!document.getElementById(t)){const i=document.createElement("style");i.id=t,i.textContent=o,document.head.appendChild(i)}})(d);const l=o=>{const{size:i="md",label:e,description:r,...s}=o;return a.jsxs("div",{className:"starasia-radio-container",style:{alignItems:r?"start":"center"},children:[a.jsx("input",{type:"radio",className:`starasia-radio-input starasia-radio-input-${i}`,...s}),e||r?a.jsxs("label",{htmlFor:s.id,style:{lineHeight:1.07},children:[e,r?a.jsx("span",{style:{display:"block",color:"#78867F",lineHeight:"initial"},children:r}):null]}):null]})};n.Radio=l,Object.defineProperty(n,Symbol.toStringTag,{value:"Module"})});
125
+ `,t="starasia-radio-styles";(o=>{if(!document.getElementById(t)){const i=document.createElement("style");i.id=t,i.textContent=o,document.head.appendChild(i)}})(d);const l=o=>{const{size:i="md",label:e,description:r,...s}=o;return a.jsxs("div",{className:"starasia-radio-container",style:{alignItems:r?"start":"center"},children:[a.jsx("input",{type:"radio",className:`starasia-radio-input starasia-radio-input-${i}`,...s}),e||r?a.jsxs("label",{htmlFor:s.id,style:{lineHeight:1.07},children:[e,r?a.jsx("span",{style:{display:"block",color:"var(--sa-text-subtle, #8c8f97)",lineHeight:"initial"},children:r}):null]}):null]})};n.Radio=l,Object.defineProperty(n,Symbol.toStringTag,{value:"Module"})});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@starasia/radio",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "radio component for starasia UI",
5
5
  "author": "Prawito Hudoro",
6
6
  "main": "dist/radio.umd.js",