@toptal/picasso-button 2.0.8 → 2.1.1-alpha-cjs-and-esm-publish-test-99555d2ed.11
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/LICENSE +20 -0
- package/dist-package/src/Button/styles.d.ts.map +1 -1
- package/dist-package/src/Button/styles.js +6 -1
- package/dist-package/src/Button/styles.js.map +1 -1
- package/dist-package/src/ButtonBase/ButtonBase.d.ts +0 -2
- package/dist-package/src/ButtonBase/ButtonBase.d.ts.map +1 -1
- package/dist-package/src/ButtonBase/ButtonBase.js +2 -7
- package/dist-package/src/ButtonBase/ButtonBase.js.map +1 -1
- package/dist-package/src/ButtonControlLabel/ButtonControlLabel.d.ts.map +1 -1
- package/dist-package/src/ButtonControlLabel/ButtonControlLabel.js +1 -1
- package/dist-package/src/ButtonControlLabel/ButtonControlLabel.js.map +1 -1
- package/package.json +16 -15
- package/src/Button/__snapshots__/test.tsx.snap +2 -2
- package/src/Button/styles.ts +6 -1
- package/src/ButtonBase/ButtonBase.tsx +3 -11
- package/src/ButtonCheckbox/__snapshots__/test.tsx.snap +1 -1
- package/src/ButtonControlLabel/ButtonControlLabel.tsx +0 -1
- package/src/ButtonGroup/__snapshots__/test.tsx.snap +3 -3
- package/src/ButtonRadio/__snapshots__/test.tsx.snap +1 -1
- package/src/ButtonSplit/__snapshots__/test.tsx.snap +2 -2
    
        package/LICENSE
    ADDED
    
    | @@ -0,0 +1,20 @@ | |
| 1 | 
            +
            MIT License
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            Copyright (c) 2021-2022 Toptal, LLC
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            Permission is hereby granted, free of charge, to any person obtaining a copy of
         | 
| 6 | 
            +
            this software and associated documentation files (the “Software”), to deal in
         | 
| 7 | 
            +
            the Software without restriction, including without limitation the rights to
         | 
| 8 | 
            +
            use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
         | 
| 9 | 
            +
            the Software, and to permit persons to whom the Software is furnished to do so,
         | 
| 10 | 
            +
            subject to the following conditions:
         | 
| 11 | 
            +
             | 
| 12 | 
            +
            The above copyright notice and this permission notice shall be included in all
         | 
| 13 | 
            +
            copies or substantial portions of the Software.
         | 
| 14 | 
            +
             | 
| 15 | 
            +
            THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
         | 
| 16 | 
            +
            IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
         | 
| 17 | 
            +
            FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
         | 
| 18 | 
            +
            COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
         | 
| 19 | 
            +
            IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
         | 
| 20 | 
            +
            CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
         | 
| @@ -1 +1 @@ | |
| 1 | 
            -
            {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/Button/styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAA;AAEtD,OAAO,KAAK,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAE7D,eAAO,MAAM,oBAAoB,SACzB,OAAO,GAAG,QAAQ,GAAG,OAAO,KACjC,MAAM,EAWR,CAAA;AAED,eAAO,MAAM,uBAAuB,YACzB,WAAW;;;;;MAYnB,MAAM, | 
| 1 | 
            +
            {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/Button/styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAA;AAEtD,OAAO,KAAK,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAE7D,eAAO,MAAM,oBAAoB,SACzB,OAAO,GAAG,QAAQ,GAAG,OAAO,KACjC,MAAM,EAWR,CAAA;AAED,eAAO,MAAM,uBAAuB,YACzB,WAAW;;;;;MAYnB,MAAM,EAoIR,CAAA;AAED,eAAO,MAAM,oBAAoB;;;;;MAS7B,MAAM,EAqBT,CAAA;AAED,eAAO,MAAM,oBAAoB;;UAKzB,SAAS,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;MAC1C,MAAM,EAeT,CAAA"}
         | 
| @@ -76,6 +76,7 @@ export const createVariantClassNames = (variant, { disabled, focused, hovered, a | |
| 76 76 | 
             
                        variantClassNames.push('border border-solid');
         | 
| 77 77 | 
             
                        if (disabled) {
         | 
| 78 78 | 
             
                            variantClassNames.push('text-gray-500');
         | 
| 79 | 
            +
                            variantClassNames.push('visited:text-gray-500');
         | 
| 79 80 | 
             
                            variantClassNames.push('border-gray-500');
         | 
| 80 81 | 
             
                            variantClassNames.push('bg-white');
         | 
| 81 82 | 
             
                        }
         | 
| @@ -135,7 +136,11 @@ export const createVariantClassNames = (variant, { disabled, focused, hovered, a | |
| 135 136 | 
             
                return variantClassNames;
         | 
| 136 137 | 
             
            };
         | 
| 137 138 | 
             
            export const createCoreClassNames = ({ disabled, focused, active, }) => {
         | 
| 138 | 
            -
                const classNames = [ | 
| 139 | 
            +
                const classNames = [
         | 
| 140 | 
            +
                    'no-underline hover:no-underline',
         | 
| 141 | 
            +
                    'rounded-sm',
         | 
| 142 | 
            +
                    'shadow-none',
         | 
| 143 | 
            +
                ];
         | 
| 139 144 | 
             
                if (!disabled) {
         | 
| 140 145 | 
             
                    classNames.push('focus-visible:shadow-[0_0_0_3px_rgba(32,78,207,0.48)]');
         | 
| 141 146 | 
             
                    classNames.push('focus-within:shadow-[0_0_0_3px_rgba(32,78,207,0.48)]');
         | 
| @@ -1 +1 @@ | |
| 1 | 
            -
            {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/Button/styles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,CAAC,CAAA;gBACpC,iBAAiB,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAA;gBAC5C,iBAAiB,CAAC,IAAI,CAAC,cAAc,CAAC,CAAA;gBAEtC,iBAAiB,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAA;gBAC5C,iBAAiB,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAA;gBAC7C,iBAAiB,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAA;gBAC/C,iBAAiB,CAAC,IAAI,CACpB,yDAAyD,CAC1D,CAAA;gBAED,IAAI,OAAO,EAAE;oBACX,iBAAiB,CAAC,IAAI,CAAC,cAAc,CAAC,CAAA;oBACtC,iBAAiB,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAA;iBACzC;qBAAM,IAAI,MAAM,EAAE;oBACjB,iBAAiB,CAAC,IAAI,CAAC,cAAc,CAAC,CAAA;oBACtC,iBAAiB,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAA;iBACzC;qBAAM;oBACL,iBAAiB,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAA;oBAC7C,iBAAiB,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAA;iBACzC;gBAED,IAAI,OAAO,EAAE;oBACX,iBAAiB,CAAC,IAAI,CAAC,2CAA2C,CAAC,CAAA;iBACpE;aACF;YACD,MAAK;KACR;IAED,OAAO,iBAAiB,CAAA;AAC1B,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,EACnC,QAAQ,EACR,OAAO,EACP,MAAM,GAMP,EAAY,EAAE;IACb,MAAM,UAAU,GAAG, | 
| 1 | 
            +
            {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/Button/styles.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAClC,IAAkC,EACxB,EAAE;IACZ,MAAM,cAAc,GAGhB;QACF,KAAK,EAAE,CAAC,UAAU,EAAE,KAAK,EAAE,MAAM,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;SAC/B;KACF;IAED,OAAO,UAAU,CAAA;AACnB,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,EACnC,YAAY,EACZ,IAAI,GAIL,EAAY,EAAE;IACb,MAAM,cAAc,GAGhB;QACF,KAAK,EAAE,CAAC,YAAY,KAAK,MAAM,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,eAAe,CAAC;QACpE,MAAM,EAAE,CAAC,YAAY,KAAK,MAAM,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,cAAc,CAAC;QACnE,KAAK,EAAE,CAAC,YAAY,KAAK,MAAM,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC;KACjE,CAAA;IAED,OAAO;QACL,cAAc,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC;QAC9B,YAAY,KAAK,MAAM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE;QAC3C,YAAY,KAAK,OAAO,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE;KAC7C,CAAA;AACH,CAAC,CAAA"}
         | 
| @@ -23,8 +23,6 @@ export interface Props extends StandardProps, TextLabelProps, ButtonOrAnchorProp | |
| 23 23 | 
             
                title?: string;
         | 
| 24 24 | 
             
                /** HTML type of Button component */
         | 
| 25 25 | 
             
                type?: 'button' | 'reset' | 'submit';
         | 
| 26 | 
            -
                /** The HTML element that is ultimately rendered, for example 'button', 'a' or 'label */
         | 
| 27 | 
            -
                rootElementName?: keyof HTMLElementTagNameMap;
         | 
| 28 26 | 
             
            }
         | 
| 29 27 | 
             
            export declare const ButtonBase: OverridableComponent<Props>;
         | 
| 30 28 | 
             
            export default ButtonBase;
         | 
| @@ -1 +1 @@ | |
| 1 | 
            -
            {"version":3,"file":"ButtonBase.d.ts","sourceRoot":"","sources":["../../../src/ButtonBase/ButtonBase.tsx"],"names":[],"mappings":" | 
| 1 | 
            +
            {"version":3,"file":"ButtonBase.d.ts","sourceRoot":"","sources":["../../../src/ButtonBase/ButtonBase.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,OAAO,CAAA;AAG7E,OAAO,KAAK,EACV,aAAa,EACb,mBAAmB,EACnB,oBAAoB,EACpB,cAAc,EACf,MAAM,wBAAwB,CAAA;AAU/B,oBAAY,gBAAgB,GAAG,MAAM,GAAG,OAAO,CAAA;AAE/C,MAAM,WAAW,KACf,SAAQ,aAAa,EACnB,cAAc,EACd,mBAAmB;IACrB,EAAE,CAAC,EAAE,WAAW,CAAA;IAChB,sBAAsB;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,kCAAkC;IAClC,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,gCAAgC;IAChC,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,gDAAgD;IAChD,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,kDAAkD;IAClD,YAAY,CAAC,EAAE,gBAAgB,CAAA;IAC/B,0DAA0D;IAC1D,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,iDAAiD;IACjD,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,iBAAiB,GAAG,iBAAiB,CAAC,KAAK,IAAI,CAAA;IAC5E,qCAAqC;IACrC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACvB,qCAAqC;IACrC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,oCAAoC;IACpC,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAA;CACrC;AAyBD,eAAO,MAAM,UAAU,EAAE,oBAAoB,CAAC,KAAK,CA+EjD,CAAA;AAcF,eAAe,UAAU,CAAA"}
         | 
| @@ -34,15 +34,10 @@ const RootElement = forwardRef((props, ref) => { | |
| 34 34 | 
             
            });
         | 
| 35 35 | 
             
            export const ButtonBase = forwardRef(function ButtonBase(props, ref) {
         | 
| 36 36 | 
             
                var _a, _b;
         | 
| 37 | 
            -
                const { icon, iconPosition, loading, children, className, contentClassName, style, disabled, onClick, title, value, type, as = 'button',  | 
| 37 | 
            +
                const { icon, iconPosition, loading, children, className, contentClassName, style, disabled, onClick, title, value, type, as = 'button', titleCase: propsTitleCase } = props, rest = __rest(props, ["icon", "iconPosition", "loading", "children", "className", "contentClassName", "style", "disabled", "onClick", "title", "value", "type", "as", "titleCase"]);
         | 
| 38 38 | 
             
                const titleCase = useTitleCase(propsTitleCase);
         | 
| 39 39 | 
             
                const finalChildren = [titleCase ? toTitleCase(children) : children];
         | 
| 40 | 
            -
                 | 
| 41 | 
            -
                 Workaround for the case: <Button as={Link} href='' /> (with empty href!), we have to determine "rootElementName" like below
         | 
| 42 | 
            -
                 Mui/base throws an error when "href" or "to" are empty
         | 
| 43 | 
            -
                 */
         | 
| 44 | 
            -
                const finalRootElementName = rootElementName ||
         | 
| 45 | 
            -
                    (as !== 'button' && ('href' in props || 'to' in props) ? 'a' : undefined);
         | 
| 40 | 
            +
                const finalRootElementName = typeof as === 'string' ? as : 'a';
         | 
| 46 41 | 
             
                if (icon) {
         | 
| 47 42 | 
             
                    const iconComponent = getIcon({ icon });
         | 
| 48 43 | 
             
                    if (iconPosition === 'left') {
         | 
| @@ -1 +1 @@ | |
| 1 | 
            -
            {"version":3,"file":"ButtonBase.js","sourceRoot":"","sources":["../../../src/ButtonBase/ButtonBase.tsx"],"names":[],"mappings":";;;;;;;;;;; | 
| 1 | 
            +
            {"version":3,"file":"ButtonBase.js","sourceRoot":"","sources":["../../../src/ButtonBase/ButtonBase.tsx"],"names":[],"mappings":";;;;;;;;;;;AAEA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAOxC,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,EAAE,M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EAAE,oBAAmD,EACpE,KAAK,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;QAC5B,aAAa;QACb,SAAS,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE;QAE3B,oBAAC,SAAS,IACR,EAAE,EAAC,MAAM,EACT,MAAM,QACN,IAAI,QACJ,SAAS,EAAC,KAAK,EACf,UAAU,EAAC,QAAQ,EACnB,SAAS,EAAE,gBAAgB,IAE1B,aAAa,CACJ;QAEX,OAAO,IAAI,CACV,oBAAC,MAAM,IACL,OAAO,EAAC,SAAS,EACjB,SAAS,EAAC,iEAAiE,EAC3E,MAAM,QACN,IAAI,EAAC,OAAO,GACZ,CACH,CACa,CACjB,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,UAAU,CAAC,YAAY,GAAG;IACxB,EAAE,EAAE,QAAQ;IACZ,QAAQ,EAAE,IAAI;IACd,QAAQ,EAAE,KAAK;IACf,YAAY,EAAE,MAAM;IACpB,OAAO,EAAE,KAAK;IACd,OAAO,EAAE,IAAI;IACb,IAAI,EAAE,QAAQ;CACf,CAAA;AAED,UAAU,CAAC,WAAW,GAAG,YAAY,CAAA;AAErC,eAAe,UAAU,CAAA"}
         | 
| @@ -1 +1 @@ | |
| 1 | 
            -
            {"version":3,"file":"ButtonControlLabel.d.ts","sourceRoot":"","sources":["../../../src/ButtonControlLabel/ButtonControlLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACpD,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAA;AAOjE,MAAM,WAAW,KAAM,SAAQ,SAAS;IACtC,4CAA4C;IAC5C,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,+DAA+D;IAC/D,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,sBAAsB;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,uCAAuC;IACvC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,uCAAuC;IACvC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,wCAAwC;IACxC,IAAI,CAAC,EAAE,QAAQ,CAAC,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC,CAAA;IAC7C,qCAAqC;IACrC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,CACT,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,EAC1C,OAAO,EAAE,OAAO,KACb,IAAI,CAAA;IACT,kBAAkB;IAClB,QAAQ,EAAE,SAAS,CAAA;IACnB,kCAAkC;IAClC,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,0EAA0E;IAC1E,OAAO,EAAE,YAAY,CAAA;CACtB;AAED,QAAA,MAAM,kBAAkB;+FAWrB,KAAK;;;; | 
| 1 | 
            +
            {"version":3,"file":"ButtonControlLabel.d.ts","sourceRoot":"","sources":["../../../src/ButtonControlLabel/ButtonControlLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACpD,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAA;AAOjE,MAAM,WAAW,KAAM,SAAQ,SAAS;IACtC,4CAA4C;IAC5C,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,+DAA+D;IAC/D,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,sBAAsB;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,uCAAuC;IACvC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,uCAAuC;IACvC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,wCAAwC;IACxC,IAAI,CAAC,EAAE,QAAQ,CAAC,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC,CAAA;IAC7C,qCAAqC;IACrC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,CACT,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,EAC1C,OAAO,EAAE,OAAO,KACb,IAAI,CAAA;IACT,kBAAkB;IAClB,QAAQ,EAAE,SAAS,CAAA;IACnB,kCAAkC;IAClC,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,0EAA0E;IAC1E,OAAO,EAAE,YAAY,CAAA;CACtB;AAED,QAAA,MAAM,kBAAkB;+FAWrB,KAAK;;;;CAsBP,CAAA;AAMD,eAAe,kBAAkB,CAAA"}
         | 
| @@ -17,7 +17,7 @@ import { createSizeClassNames, createContentSizeClassNames } from './styles'; | |
| 17 17 | 
             
            const ButtonControlLabel = (_a) => {
         | 
| 18 18 | 
             
                var { children, size = 'medium', className, checked, onChange, id, control, value, disabled } = _a, props = __rest(_a, ["children", "size", "className", "checked", "onChange", "id", "control", "value", "disabled"]);
         | 
| 19 19 | 
             
                const contentLeftSpacing = size === 'large' ? 1 : 0.5;
         | 
| 20 | 
            -
                return (React.createElement(Button, Object.assign({}, props, { className: twMerge('text-center', createSizeClassNames(size), className), variant: 'secondary', size: size, as: 'label',  | 
| 20 | 
            +
                return (React.createElement(Button, Object.assign({}, props, { className: twMerge('text-center', createSizeClassNames(size), className), variant: 'secondary', size: size, as: 'label', htmlFor: id, disabled: disabled }),
         | 
| 21 21 | 
             
                    React.cloneElement(control, { id, checked, value, onChange, disabled }),
         | 
| 22 22 | 
             
                    React.createElement(Container, { className: createContentSizeClassNames(size), left: contentLeftSpacing }, children)));
         | 
| 23 23 | 
             
            };
         | 
| @@ -1 +1 @@ | |
| 1 | 
            -
            {"version":3,"file":"ButtonControlLabel.js","sourceRoot":"","sources":["../../../src/ButtonControlLabel/ButtonControlLabel.tsx"],"names":[],"mappings":";;;;;;;;;;;AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;AAErD,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAClC,OAAO,EAAE,oBAAoB,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAA;AA8B5E,MAAM,kBAAkB,GAAG,CAAC,EAWpB,EAAE,EAAE;QAXgB,EAC1B,QAAQ,EACR,IAAI,GAAG,QAAQ,EACf,SAAS,EACT,OAAO,EACP,QAAQ,EACR,EAAE,EACF,OAAO,EACP,KAAK,EACL,QAAQ,OAEF,EADH,KAAK,cAVkB,8FAW3B,CADS;IAER,MAAM,kBAAkB,GAAG,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAA;IAErD,OAAO,CACL,oBAAC,MAAM,oBACD,KAAK,IACT,SAAS,EAAE,OAAO,CAAC,aAAa,EAAE,oBAAoB,CAAC,IAAI,CAAC,EAAE,SAAS,CAAC,EACxE,OAAO,EAAC,WAAW,EACnB,IAAI,EAAE,IAAI,EACV,EAAE,EAAC,OAAO,EACV, | 
| 1 | 
            +
            {"version":3,"file":"ButtonControlLabel.js","sourceRoot":"","sources":["../../../src/ButtonControlLabel/ButtonControlLabel.tsx"],"names":[],"mappings":";;;;;;;;;;;AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;AAErD,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAClC,OAAO,EAAE,oBAAoB,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAA;AA8B5E,MAAM,kBAAkB,GAAG,CAAC,EAWpB,EAAE,EAAE;QAXgB,EAC1B,QAAQ,EACR,IAAI,GAAG,QAAQ,EACf,SAAS,EACT,OAAO,EACP,QAAQ,EACR,EAAE,EACF,OAAO,EACP,KAAK,EACL,QAAQ,OAEF,EADH,KAAK,cAVkB,8FAW3B,CADS;IAER,MAAM,kBAAkB,GAAG,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAA;IAErD,OAAO,CACL,oBAAC,MAAM,oBACD,KAAK,IACT,SAAS,EAAE,OAAO,CAAC,aAAa,EAAE,oBAAoB,CAAC,IAAI,CAAC,EAAE,SAAS,CAAC,EACxE,OAAO,EAAC,WAAW,EACnB,IAAI,EAAE,IAAI,EACV,EAAE,EAAC,OAAO,EACV,OAAO,EAAE,EAAE,EACX,QAAQ,EAAE,QAAQ;QAEjB,KAAK,CAAC,YAAY,CAAC,OAAO,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC;QACxE,oBAAC,SAAS,IACR,SAAS,EAAE,2BAA2B,CAAC,IAAI,CAAC,EAC5C,IAAI,EAAE,kBAAkB,IAEvB,QAAQ,CACC,CACL,CACV,CAAA;AACH,CAAC,CAAA;AAED,kBAAkB,CAAC,YAAY,GAAG;IAChC,IAAI,EAAE,QAAQ;CACf,CAAA;AAED,eAAe,kBAAkB,CAAA"}
         | 
    
        package/package.json
    CHANGED
    
    | @@ -1,6 +1,6 @@ | |
| 1 1 | 
             
            {
         | 
| 2 2 | 
             
              "name": "@toptal/picasso-button",
         | 
| 3 | 
            -
              "version": "2. | 
| 3 | 
            +
              "version": "2.1.1-alpha-cjs-and-esm-publish-test-99555d2ed.11+99555d2ed",
         | 
| 4 4 | 
             
              "description": "Toptal UI components library - Button",
         | 
| 5 5 | 
             
              "publishConfig": {
         | 
| 6 6 | 
             
                "access": "public"
         | 
| @@ -22,17 +22,17 @@ | |
| 22 22 | 
             
              },
         | 
| 23 23 | 
             
              "homepage": "https://github.com/toptal/picasso/tree/master/packages/picasso#readme",
         | 
| 24 24 | 
             
              "dependencies": {
         | 
| 25 | 
            -
                "@toptal/picasso-checkbox": "2.0.6",
         | 
| 26 | 
            -
                "@toptal/picasso-container": "1.0.3",
         | 
| 27 | 
            -
                "@toptal/picasso-dropdown": "2.0.3",
         | 
| 28 | 
            -
                "@toptal/picasso-icons": "1.4.0",
         | 
| 29 | 
            -
                "@toptal/picasso-loader": "1.0.3",
         | 
| 30 | 
            -
                "@toptal/picasso-radio": "2.0.6",
         | 
| 31 | 
            -
                "@toptal/picasso-shared": "15.0.0",
         | 
| 32 | 
            -
                "@toptal/picasso-utils": "1.0.3",
         | 
| 33 | 
            -
                "@toptal/picasso-link": "1.0.3",
         | 
| 34 | 
            -
                "ap-style-title-case": "^1.1.2",
         | 
| 35 25 | 
             
                "@mui/base": "5.0.0-beta.40",
         | 
| 26 | 
            +
                "@toptal/picasso-checkbox": "2.0.7-alpha-cjs-and-esm-publish-test-99555d2ed.31+99555d2ed",
         | 
| 27 | 
            +
                "@toptal/picasso-container": "1.0.4-alpha-cjs-and-esm-publish-test-99555d2ed.65+99555d2ed",
         | 
| 28 | 
            +
                "@toptal/picasso-dropdown": "2.0.4-alpha-cjs-and-esm-publish-test-99555d2ed.63+99555d2ed",
         | 
| 29 | 
            +
                "@toptal/picasso-icons": "1.4.1-alpha-cjs-and-esm-publish-test-99555d2ed.31+99555d2ed",
         | 
| 30 | 
            +
                "@toptal/picasso-link": "1.0.4-alpha-cjs-and-esm-publish-test-99555d2ed.65+99555d2ed",
         | 
| 31 | 
            +
                "@toptal/picasso-loader": "1.0.4-alpha-cjs-and-esm-publish-test-99555d2ed.65+99555d2ed",
         | 
| 32 | 
            +
                "@toptal/picasso-radio": "2.0.7-alpha-cjs-and-esm-publish-test-99555d2ed.31+99555d2ed",
         | 
| 33 | 
            +
                "@toptal/picasso-shared": "15.0.1-alpha-cjs-and-esm-publish-test-99555d2ed.65+99555d2ed",
         | 
| 34 | 
            +
                "@toptal/picasso-utils": "1.0.4-alpha-cjs-and-esm-publish-test-99555d2ed.65+99555d2ed",
         | 
| 35 | 
            +
                "ap-style-title-case": "^1.1.2",
         | 
| 36 36 | 
             
                "classnames": "^2.5.1",
         | 
| 37 37 | 
             
                "tailwind-merge": "^2.2.2"
         | 
| 38 38 | 
             
              },
         | 
| @@ -41,20 +41,21 @@ | |
| 41 41 | 
             
                "**/styles.js"
         | 
| 42 42 | 
             
              ],
         | 
| 43 43 | 
             
              "peerDependencies": {
         | 
| 44 | 
            -
                "@toptal/picasso-tailwind": ">=2.5.0",
         | 
| 45 44 | 
             
                "@toptal/picasso-provider": "*",
         | 
| 45 | 
            +
                "@toptal/picasso-tailwind": ">=2.5.0",
         | 
| 46 46 | 
             
                "react": ">=16.12.0 < 19.0.0"
         | 
| 47 47 | 
             
              },
         | 
| 48 48 | 
             
              "exports": {
         | 
| 49 49 | 
             
                ".": "./dist-package/src/index.js"
         | 
| 50 50 | 
             
              },
         | 
| 51 51 | 
             
              "devDependencies": {
         | 
| 52 | 
            -
                "@toptal/picasso-provider": "4.2. | 
| 53 | 
            -
                "@toptal/picasso-test-utils": "1.1. | 
| 52 | 
            +
                "@toptal/picasso-provider": "4.2.2-alpha-cjs-and-esm-publish-test-99555d2ed.73+99555d2ed",
         | 
| 53 | 
            +
                "@toptal/picasso-test-utils": "1.1.2-alpha-cjs-and-esm-publish-test-99555d2ed.65+99555d2ed"
         | 
| 54 54 | 
             
              },
         | 
| 55 55 | 
             
              "files": [
         | 
| 56 56 | 
             
                "dist-package/**",
         | 
| 57 57 | 
             
                "!dist-package/tsconfig.tsbuildinfo",
         | 
| 58 58 | 
             
                "src"
         | 
| 59 | 
            -
              ]
         | 
| 59 | 
            +
              ],
         | 
| 60 | 
            +
              "gitHead": "99555d2edcfa544cb6eb59eb953365a04c359b45"
         | 
| 60 61 | 
             
            }
         | 
| @@ -7,7 +7,7 @@ exports[`Button disabled button as link renders disabled version 1`] = ` | |
| 7 7 | 
             
              >
         | 
| 8 8 | 
             
                <a
         | 
| 9 9 | 
             
                  aria-disabled="true"
         | 
| 10 | 
            -
                  class="MuiTypography-root MuiLink-root MuiLink-underlineHover PicassoLink-root base-Button base- text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none [&+&]:ml-4 cursor-default pointer-events no-underline rounded-sm shadow-none border-none text-white visited:text-white bg-gray min-w h-8 py-0 px-4 PicassoLink-blue MuiTypography-colorPrimary"
         | 
| 10 | 
            +
                  class="MuiTypography-root MuiLink-root MuiLink-underlineHover PicassoLink-root base-Button base- text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none [&+&]:ml-4 cursor-default pointer-events no-underline hover:no-underline rounded-sm shadow-none border-none text-white visited:text-white bg-gray min-w h-8 py-0 px-4 PicassoLink-blue MuiTypography-colorPrimary"
         | 
| 11 11 | 
             
                  data-component-type="button"
         | 
| 12 12 | 
             
                  href="URL"
         | 
| 13 13 | 
             
                  role="button"
         | 
| @@ -31,7 +31,7 @@ exports[`Button disabled button renders disabled version 1`] = ` | |
| 31 31 | 
             
              >
         | 
| 32 32 | 
             
                <button
         | 
| 33 33 | 
             
                  aria-disabled="true"
         | 
| 34 | 
            -
                  class="base-Button base- text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none [&+&]:ml-4 cursor-default pointer-events no-underline rounded-sm shadow-none border-none text-white visited:text-white bg-gray min-w h-8 py-0 px-4"
         | 
| 34 | 
            +
                  class="base-Button base- text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none [&+&]:ml-4 cursor-default pointer-events no-underline hover:no-underline rounded-sm shadow-none border-none text-white visited:text-white bg-gray min-w h-8 py-0 px-4"
         | 
| 35 35 | 
             
                  data-component-type="button"
         | 
| 36 36 | 
             
                  disabled=""
         | 
| 37 37 | 
             
                  role="button"
         | 
    
        package/src/Button/styles.ts
    CHANGED
    
    | @@ -100,6 +100,7 @@ export const createVariantClassNames = ( | |
| 100 100 |  | 
| 101 101 | 
             
                  if (disabled) {
         | 
| 102 102 | 
             
                    variantClassNames.push('text-gray-500')
         | 
| 103 | 
            +
                    variantClassNames.push('visited:text-gray-500')
         | 
| 103 104 | 
             
                    variantClassNames.push('border-gray-500')
         | 
| 104 105 | 
             
                    variantClassNames.push('bg-white')
         | 
| 105 106 | 
             
                  } else {
         | 
| @@ -173,7 +174,11 @@ export const createCoreClassNames = ({ | |
| 173 174 | 
             
              hovered?: boolean
         | 
| 174 175 | 
             
              active?: boolean
         | 
| 175 176 | 
             
            }): string[] => {
         | 
| 176 | 
            -
              const classNames = [ | 
| 177 | 
            +
              const classNames = [
         | 
| 178 | 
            +
                'no-underline hover:no-underline',
         | 
| 179 | 
            +
                'rounded-sm',
         | 
| 180 | 
            +
                'shadow-none',
         | 
| 181 | 
            +
              ]
         | 
| 177 182 |  | 
| 178 183 | 
             
              if (!disabled) {
         | 
| 179 184 | 
             
                classNames.push('focus-visible:shadow-[0_0_0_3px_rgba(32,78,207,0.48)]')
         | 
| @@ -1,3 +1,4 @@ | |
| 1 | 
            +
            /* eslint-disable complexity */
         | 
| 1 2 | 
             
            import type { ReactNode, ReactElement, MouseEvent, ElementType } from 'react'
         | 
| 2 3 | 
             
            import React, { forwardRef } from 'react'
         | 
| 3 4 | 
             
            import { twMerge } from 'tailwind-merge'
         | 
| @@ -43,8 +44,6 @@ export interface Props | |
| 43 44 | 
             
              title?: string
         | 
| 44 45 | 
             
              /** HTML type of Button component */
         | 
| 45 46 | 
             
              type?: 'button' | 'reset' | 'submit'
         | 
| 46 | 
            -
              /** The HTML element that is ultimately rendered, for example 'button', 'a' or 'label */
         | 
| 47 | 
            -
              rootElementName?: keyof HTMLElementTagNameMap
         | 
| 48 47 | 
             
            }
         | 
| 49 48 |  | 
| 50 49 | 
             
            const getClickHandler = (loading?: boolean, handler?: Props['onClick']) =>
         | 
| @@ -88,20 +87,13 @@ export const ButtonBase: OverridableComponent<Props> = forwardRef< | |
| 88 87 | 
             
                value,
         | 
| 89 88 | 
             
                type,
         | 
| 90 89 | 
             
                as = 'button',
         | 
| 91 | 
            -
                rootElementName,
         | 
| 92 90 | 
             
                titleCase: propsTitleCase,
         | 
| 93 91 | 
             
                ...rest
         | 
| 94 92 | 
             
              } = props
         | 
| 95 93 |  | 
| 96 94 | 
             
              const titleCase = useTitleCase(propsTitleCase)
         | 
| 97 95 | 
             
              const finalChildren = [titleCase ? toTitleCase(children) : children]
         | 
| 98 | 
            -
               | 
| 99 | 
            -
               Workaround for the case: <Button as={Link} href='' /> (with empty href!), we have to determine "rootElementName" like below
         | 
| 100 | 
            -
               Mui/base throws an error when "href" or "to" are empty
         | 
| 101 | 
            -
               */
         | 
| 102 | 
            -
              const finalRootElementName =
         | 
| 103 | 
            -
                rootElementName ||
         | 
| 104 | 
            -
                (as !== 'button' && ('href' in props || 'to' in props) ? 'a' : undefined)
         | 
| 96 | 
            +
              const finalRootElementName = typeof as === 'string' ? as : 'a'
         | 
| 105 97 |  | 
| 106 98 | 
             
              if (icon) {
         | 
| 107 99 | 
             
                const iconComponent = getIcon({ icon })
         | 
| @@ -130,7 +122,7 @@ export const ButtonBase: OverridableComponent<Props> = forwardRef< | |
| 130 122 | 
             
                  data-component-type='button'
         | 
| 131 123 | 
             
                  tabIndex={rest.tabIndex ?? disabled ? -1 : 0}
         | 
| 132 124 | 
             
                  role={rest.role ?? 'button'}
         | 
| 133 | 
            -
                  rootElementName={finalRootElementName}
         | 
| 125 | 
            +
                  rootElementName={finalRootElementName as keyof HTMLElementTagNameMap}
         | 
| 134 126 | 
             
                  slots={{ root: RootElement }}
         | 
| 135 127 | 
             
                  // @ts-ignore
         | 
| 136 128 | 
             
                  slotProps={{ root: { as } }}
         | 
| @@ -7,7 +7,7 @@ exports[`ButtonCheckbox renders 1`] = ` | |
| 7 7 | 
             
              >
         | 
| 8 8 | 
             
                <label
         | 
| 9 9 | 
             
                  aria-disabled="false"
         | 
| 10 | 
            -
                  class="base-Button text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none [&+&]:ml-4 cursor-pointer no-underline rounded-sm shadow-none focus-visible:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] focus-within:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] border border-solid text-black hover:border-black visited:text-black active:bg-gray active:border-black bg-white border-gray min-w h-8 px-4 text-center py-2 pr-6 pl-4"
         | 
| 10 | 
            +
                  class="base-Button text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none [&+&]:ml-4 cursor-pointer no-underline hover:no-underline rounded-sm shadow-none focus-visible:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] focus-within:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] border border-solid text-black hover:border-black visited:text-black active:bg-gray active:border-black bg-white border-gray min-w h-8 px-4 text-center py-2 pr-6 pl-4"
         | 
| 11 11 | 
             
                  data-component-type="button"
         | 
| 12 12 | 
             
                  role="button"
         | 
| 13 13 | 
             
                  tabindex="0"
         | 
| @@ -10,7 +10,7 @@ exports[`ButtonGroup render 1`] = ` | |
| 10 10 | 
             
                >
         | 
| 11 11 | 
             
                  <button
         | 
| 12 12 | 
             
                    aria-disabled="false"
         | 
| 13 | 
            -
                    class="base-Button text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle duration-350 ease-out shrink-0 outline-none [&+&]:ml-4 cursor-pointer no-underline rounded-sm shadow-none focus-visible:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] focus-within:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] border bg-white min-w h-8 py-0 px-4 transition-[color,background] active:z-[1] hover:z-[1] focus-visible:z-[1] disabled:z-[1] visited:text-black border-solid active:bg-graphite active:border-graphite active:text-white hover:border-black border-gray text-black"
         | 
| 13 | 
            +
                    class="base-Button text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle duration-350 ease-out shrink-0 outline-none [&+&]:ml-4 cursor-pointer no-underline hover:no-underline rounded-sm shadow-none focus-visible:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] focus-within:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] border bg-white min-w h-8 py-0 px-4 transition-[color,background] active:z-[1] hover:z-[1] focus-visible:z-[1] disabled:z-[1] visited:text-black border-solid active:bg-graphite active:border-graphite active:text-white hover:border-black border-gray text-black"
         | 
| 14 14 | 
             
                    data-component-type="button"
         | 
| 15 15 | 
             
                    role="button"
         | 
| 16 16 | 
             
                    tabindex="0"
         | 
| @@ -24,7 +24,7 @@ exports[`ButtonGroup render 1`] = ` | |
| 24 24 | 
             
                  </button>
         | 
| 25 25 | 
             
                  <button
         | 
| 26 26 | 
             
                    aria-disabled="false"
         | 
| 27 | 
            -
                    class="base-Button text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle duration-350 ease-out shrink-0 outline-none [&+&]:ml-4 cursor-pointer no-underline rounded-sm focus-visible:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] focus-within:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] border min-w h-8 py-0 px-4 transition-[color,background] active:z-[1] hover:z-[1] focus-visible:z-[1] disabled:z-[1] z-[1] visited:text-black border-solid active:bg-graphite active:border-graphite active:text-white hover:border-black bg-graphite border-graphite text-white shadow-none"
         | 
| 27 | 
            +
                    class="base-Button text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle duration-350 ease-out shrink-0 outline-none [&+&]:ml-4 cursor-pointer no-underline hover:no-underline rounded-sm focus-visible:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] focus-within:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] border min-w h-8 py-0 px-4 transition-[color,background] active:z-[1] hover:z-[1] focus-visible:z-[1] disabled:z-[1] z-[1] visited:text-black border-solid active:bg-graphite active:border-graphite active:text-white hover:border-black bg-graphite border-graphite text-white shadow-none"
         | 
| 28 28 | 
             
                    data-component-type="button"
         | 
| 29 29 | 
             
                    role="button"
         | 
| 30 30 | 
             
                    tabindex="0"
         | 
| @@ -38,7 +38,7 @@ exports[`ButtonGroup render 1`] = ` | |
| 38 38 | 
             
                  </button>
         | 
| 39 39 | 
             
                  <button
         | 
| 40 40 | 
             
                    aria-disabled="false"
         | 
| 41 | 
            -
                    class="base-Button text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle duration-350 ease-out shrink-0 outline-none [&+&]:ml-4 cursor-pointer no-underline rounded-sm shadow-none focus-visible:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] focus-within:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] border bg-white min-w h-8 py-0 px-4 transition-[color,background] active:z-[1] hover:z-[1] focus-visible:z-[1] disabled:z-[1] visited:text-black border-solid active:bg-graphite active:border-graphite active:text-white hover:border-black border-gray text-black"
         | 
| 41 | 
            +
                    class="base-Button text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle duration-350 ease-out shrink-0 outline-none [&+&]:ml-4 cursor-pointer no-underline hover:no-underline rounded-sm shadow-none focus-visible:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] focus-within:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] border bg-white min-w h-8 py-0 px-4 transition-[color,background] active:z-[1] hover:z-[1] focus-visible:z-[1] disabled:z-[1] visited:text-black border-solid active:bg-graphite active:border-graphite active:text-white hover:border-black border-gray text-black"
         | 
| 42 42 | 
             
                    data-component-type="button"
         | 
| 43 43 | 
             
                    role="button"
         | 
| 44 44 | 
             
                    tabindex="0"
         | 
| @@ -7,7 +7,7 @@ exports[`ButtonRadio renders 1`] = ` | |
| 7 7 | 
             
              >
         | 
| 8 8 | 
             
                <label
         | 
| 9 9 | 
             
                  aria-disabled="false"
         | 
| 10 | 
            -
                  class="base-Button text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none [&+&]:ml-4 cursor-pointer no-underline rounded-sm shadow-none focus-visible:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] focus-within:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] border border-solid text-black hover:border-black visited:text-black active:bg-gray active:border-black bg-white border-gray min-w h-8 px-4 text-center py-2 pr-6 pl-4"
         | 
| 10 | 
            +
                  class="base-Button text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none [&+&]:ml-4 cursor-pointer no-underline hover:no-underline rounded-sm shadow-none focus-visible:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] focus-within:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] border border-solid text-black hover:border-black visited:text-black active:bg-gray active:border-black bg-white border-gray min-w h-8 px-4 text-center py-2 pr-6 pl-4"
         | 
| 11 11 | 
             
                  data-component-type="button"
         | 
| 12 12 | 
             
                  role="button"
         | 
| 13 13 | 
             
                  tabindex="0"
         | 
| @@ -22,7 +22,7 @@ exports[`ButtonSplit default render 1`] = ` | |
| 22 22 | 
             
                >
         | 
| 23 23 | 
             
                  <button
         | 
| 24 24 | 
             
                    aria-disabled="false"
         | 
| 25 | 
            -
                    class="base-Button text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle duration-350 ease-out shrink-0 outline-none [&+&]:ml-4 cursor-pointer no-underline rounded-sm shadow-none focus-visible:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] focus-within:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] text-white visited:text-white hover:bg-[#4269D6] active:bg-[#1A41AB] bg-blue min-w h-8 py-0 px-4 active:z-[1] hover:z-[1] focus-visible:z-[1] disabled:z-[1] transition-[color,background] border-r border-l border-y border-solid border-blue"
         | 
| 25 | 
            +
                    class="base-Button text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle duration-350 ease-out shrink-0 outline-none [&+&]:ml-4 cursor-pointer no-underline hover:no-underline rounded-sm shadow-none focus-visible:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] focus-within:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] text-white visited:text-white hover:bg-[#4269D6] active:bg-[#1A41AB] bg-blue min-w h-8 py-0 px-4 active:z-[1] hover:z-[1] focus-visible:z-[1] disabled:z-[1] transition-[color,background] border-r border-l border-y border-solid border-blue"
         | 
| 26 26 | 
             
                    data-component-type="button"
         | 
| 27 27 | 
             
                    role="button"
         | 
| 28 28 | 
             
                    tabindex="0"
         | 
| @@ -42,7 +42,7 @@ exports[`ButtonSplit default render 1`] = ` | |
| 42 42 | 
             
                    >
         | 
| 43 43 | 
             
                      <button
         | 
| 44 44 | 
             
                        aria-disabled="false"
         | 
| 45 | 
            -
                        class="base-Button text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle duration-350 ease-out shrink-0 outline-none [&+&]:ml-4 cursor-pointer no-underline rounded-sm shadow-none focus-visible:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] focus-within:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] text-white visited:text-white hover:bg-[#4269D6] active:bg-[#1A41AB] bg-blue h-8 py-0 transition-[color,background] active:z-[1] hover:z-[1] focus-visible:z-[1] disabled:z-[1] min-w px-[0.5em] border-l border-r border-y border-solid border-blue"
         | 
| 45 | 
            +
                        class="base-Button text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle duration-350 ease-out shrink-0 outline-none [&+&]:ml-4 cursor-pointer no-underline hover:no-underline rounded-sm shadow-none focus-visible:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] focus-within:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] text-white visited:text-white hover:bg-[#4269D6] active:bg-[#1A41AB] bg-blue h-8 py-0 transition-[color,background] active:z-[1] hover:z-[1] focus-visible:z-[1] disabled:z-[1] min-w px-[0.5em] border-l border-r border-y border-solid border-blue"
         | 
| 46 46 | 
             
                        data-component-type="button"
         | 
| 47 47 | 
             
                        role="button"
         | 
| 48 48 | 
             
                        tabindex="0"
         |