@bikdotai/bik-component-library 0.0.333 → 0.0.334

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.
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("./ColourInput.styled.js"),t=require("../TypographyStyle.js"),o=require("../../constants/Theme.js");exports.ColourInput=n=>{var l;return e.jsxs("div",Object.assign({className:"buttonColorCustom"},{children:[n.headingText&&e.jsx(t.BodySecondary,{children:n.headingText}),e.jsxs(r.ColorInputContainer,{children:[e.jsx("div",Object.assign({style:{fontWeight:400,fontSize:16,lineHeight:24,color:o.DEFAULT_THEME.colorsV2.content.primary}},{children:null!==(l=n.labelText)&&void 0!==l?l:"Colour"})),e.jsx(r.StyledColorInput,{type:"color",onChange:e=>{n.onValueChange(e.target.value)},value:n.value})]})]}))};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("./ColourInput.styled.js"),o=require("../TypographyStyle.js");exports.ColourInput=t=>{var l;return e.jsxs("div",Object.assign({className:"buttonColorCustom"},{children:[t.headingText&&e.jsx(o.BodySecondary,{children:t.headingText}),e.jsxs(r.ColorInputContainer,{children:[e.jsx(o.BodyPrimary,{children:null!==(l=t.labelText)&&void 0!==l?l:"Colour"}),e.jsx(r.StyledColorInput,{type:"color",onChange:e=>{t.onValueChange(e.target.value)},value:t.value})]})]}))};
@@ -1 +1 @@
1
- import{jsxs as e,jsx as o}from"react/jsx-runtime";import{ColorInputContainer as t,StyledColorInput as r}from"./ColourInput.styled.js";import{BodySecondary as n}from"../TypographyStyle.js";import{DEFAULT_THEME as l}from"../../constants/Theme.js";const i=i=>{var a;return e("div",Object.assign({className:"buttonColorCustom"},{children:[i.headingText&&o(n,{children:i.headingText}),e(t,{children:[o("div",Object.assign({style:{fontWeight:400,fontSize:16,lineHeight:24,color:l.colorsV2.content.primary}},{children:null!==(a=i.labelText)&&void 0!==a?a:"Colour"})),o(r,{type:"color",onChange:e=>{i.onValueChange(e.target.value)},value:i.value})]})]}))};export{i as ColourInput};
1
+ import{jsxs as e,jsx as o}from"react/jsx-runtime";import{ColorInputContainer as r,StyledColorInput as t}from"./ColourInput.styled.js";import{BodySecondary as l,BodyPrimary as n}from"../TypographyStyle.js";const a=a=>{var i;return e("div",Object.assign({className:"buttonColorCustom"},{children:[a.headingText&&o(l,{children:a.headingText}),e(r,{children:[o(n,{children:null!==(i=a.labelText)&&void 0!==i?i:"Colour"}),o(t,{type:"color",onChange:e=>{a.onValueChange(e.target.value)},value:a.value})]})]}))};export{a as ColourInput};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bikdotai/bik-component-library",
3
- "version": "0.0.333",
3
+ "version": "0.0.334",
4
4
  "description": "Bik Component Library",
5
5
  "repository": {
6
6
  "type": "git",