@starasia/table 1.0.3 → 1.0.4
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/table.es.js +2 -2
- package/dist/table.umd.js +3 -3
- package/package.json +1 -1
package/dist/table.es.js
CHANGED
|
@@ -42,8 +42,8 @@ const o = `* {
|
|
|
42
42
|
);
|
|
43
43
|
|
|
44
44
|
/* brand */
|
|
45
|
-
--starasia-ui-input-color-primary-blue: var(--starasia-ui-brand-primary-default);
|
|
46
|
-
--starasia-ui-input-color-quinary-blue: var(--starasia-ui-brand-primary-tertiary);
|
|
45
|
+
--starasia-ui-input-color-primary-blue: var(--starasia-ui-brand-primary-default, rgba(74, 106, 148, 1));
|
|
46
|
+
--starasia-ui-input-color-quinary-blue: var(--starasia-ui-brand-primary-tertiary, rgba(227, 237, 248, 1));
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
.starasia-table {
|
package/dist/table.umd.js
CHANGED
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
);
|
|
42
42
|
|
|
43
43
|
/* brand */
|
|
44
|
-
--starasia-ui-input-color-primary-blue: var(--starasia-ui-brand-primary-default);
|
|
45
|
-
--starasia-ui-input-color-quinary-blue: var(--starasia-ui-brand-primary-tertiary);
|
|
44
|
+
--starasia-ui-input-color-primary-blue: var(--starasia-ui-brand-primary-default, rgba(74, 106, 148, 1));
|
|
45
|
+
--starasia-ui-input-color-quinary-blue: var(--starasia-ui-brand-primary-tertiary, rgba(227, 237, 248, 1));
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
.starasia-table {
|
|
@@ -82,4 +82,4 @@
|
|
|
82
82
|
.starasia-table-full-width {
|
|
83
83
|
width: 100%;
|
|
84
84
|
}
|
|
85
|
-
`,r="starasia-table-styles";(t=>{if(!document.getElementById(r)){const a=document.createElement("style");a.id=r,a.textContent=t,document.head.appendChild(a)}})(o);const l=t=>{const{children:a,fullWidth:s=!1,variant:f="unstyled",...e}=t;return i.jsx("table",{...e,className:`starasia-table starasia-table-${f} ${s?"starasia-table-full-width ":""} ${e.className}`,children:a})},d=t=>{const{children:a,...s}=t;return i.jsx("thead",{...s,children:a})},u=t=>{const{children:a,...s}=t;return i.jsx("tbody",{...s,children:a})},c=t=>{const{children:a,...s}=t;return i.jsx("tfoot",{...s,children:a})},b=t=>{const{children:a,...s}=t;return i.jsx("tr",{...s,children:a})},
|
|
85
|
+
`,r="starasia-table-styles";(t=>{if(!document.getElementById(r)){const a=document.createElement("style");a.id=r,a.textContent=t,document.head.appendChild(a)}})(o);const l=t=>{const{children:a,fullWidth:s=!1,variant:f="unstyled",...e}=t;return i.jsx("table",{...e,className:`starasia-table starasia-table-${f} ${s?"starasia-table-full-width ":""} ${e.className}`,children:a})},d=t=>{const{children:a,...s}=t;return i.jsx("thead",{...s,children:a})},u=t=>{const{children:a,...s}=t;return i.jsx("tbody",{...s,children:a})},c=t=>{const{children:a,...s}=t;return i.jsx("tfoot",{...s,children:a})},b=t=>{const{children:a,...s}=t;return i.jsx("tr",{...s,children:a})},g=t=>{const{children:a,...s}=t;return i.jsx("th",{...s,className:`starasia-table-th ${s.className}`,children:a})},p=t=>{const{children:a,...s}=t;return i.jsx("td",{...s,className:`starasia-table-td ${s.className}`,children:a})};n.Table=l,n.Tbody=u,n.Td=p,n.Tfoot=c,n.Th=g,n.Thead=d,n.Tr=b,Object.defineProperty(n,Symbol.toStringTag,{value:"Module"})});
|