@alfalab/core-components-button
Advanced tools
Comparing version 11.4.3 to 11.4.4
@@ -19,9 +19,9 @@ 'use strict'; | ||
var defaultColors = {"accent":"button__accent_1phfi","loader":"button__loader_1phfi","primary":"button__primary_1phfi","secondary":"button__secondary_1phfi","outlined":"button__outlined_1phfi","tertiary":"button__tertiary_1phfi","filled":"button__filled_1phfi","transparent":"button__transparent_1phfi","link":"button__link_1phfi","text":"button__text_1phfi","ghost":"button__ghost_1phfi","component":"button__component_1phfi","loading":"button__loading_1phfi"}; | ||
var defaultColors = {"accent":"button__accent_1r569","loader":"button__loader_1r569","primary":"button__primary_1r569","secondary":"button__secondary_1r569","outlined":"button__outlined_1r569","tertiary":"button__tertiary_1r569","filled":"button__filled_1r569","transparent":"button__transparent_1r569","link":"button__link_1r569","text":"button__text_1r569","ghost":"button__ghost_1r569","component":"button__component_1r569","loading":"button__loading_1r569"}; | ||
require('./default.css') | ||
var commonStyles = {"component":"button__component_6iv4t","hug":"button__hug_6iv4t","fill":"button__fill_6iv4t","hint":"button__hint_6iv4t","allowBackdropBlur":"button__allowBackdropBlur_6iv4t","secondary":"button__secondary_6iv4t","accent":"button__accent_6iv4t","primary":"button__primary_6iv4t","focused":"button__focused_6iv4t","loading":"button__loading_6iv4t","label":"button__label_6iv4t","addons":"button__addons_6iv4t","stretchText":"button__stretchText_6iv4t","loader":"button__loader_6iv4t","size-32":"button__size-32_6iv4t","iconOnly":"button__iconOnly_6iv4t","size-40":"button__size-40_6iv4t","size-48":"button__size-48_6iv4t","size-56":"button__size-56_6iv4t","size-64":"button__size-64_6iv4t","size-72":"button__size-72_6iv4t","withRightAddons":"button__withRightAddons_6iv4t","ghost":"button__ghost_6iv4t","text":"button__text_6iv4t","withLeftAddons":"button__withLeftAddons_6iv4t","link":"button__link_6iv4t","transparent":"button__transparent_6iv4t","block":"button__block_6iv4t","nowrap":"button__nowrap_6iv4t","rounded":"button__rounded_6iv4t"}; | ||
var commonStyles = {"component":"button__component_vd2gz","hug":"button__hug_vd2gz","fill":"button__fill_vd2gz","hint":"button__hint_vd2gz","allowBackdropBlur":"button__allowBackdropBlur_vd2gz","secondary":"button__secondary_vd2gz","accent":"button__accent_vd2gz","primary":"button__primary_vd2gz","focused":"button__focused_vd2gz","loading":"button__loading_vd2gz","label":"button__label_vd2gz","addons":"button__addons_vd2gz","stretchText":"button__stretchText_vd2gz","loader":"button__loader_vd2gz","size-32":"button__size-32_vd2gz","iconOnly":"button__iconOnly_vd2gz","size-40":"button__size-40_vd2gz","size-48":"button__size-48_vd2gz","size-56":"button__size-56_vd2gz","size-64":"button__size-64_vd2gz","size-72":"button__size-72_vd2gz","withRightAddons":"button__withRightAddons_vd2gz","ghost":"button__ghost_vd2gz","text":"button__text_vd2gz","withLeftAddons":"button__withLeftAddons_vd2gz","link":"button__link_vd2gz","transparent":"button__transparent_vd2gz","block":"button__block_vd2gz","nowrap":"button__nowrap_vd2gz","rounded":"button__rounded_vd2gz"}; | ||
require('./index.css') | ||
var invertedColors = {"accent":"button__accent_1y11o","loader":"button__loader_1y11o","primary":"button__primary_1y11o","secondary":"button__secondary_1y11o","outlined":"button__outlined_1y11o","tertiary":"button__tertiary_1y11o","filled":"button__filled_1y11o","transparent":"button__transparent_1y11o","link":"button__link_1y11o","text":"button__text_1y11o","ghost":"button__ghost_1y11o","component":"button__component_1y11o","loading":"button__loading_1y11o"}; | ||
var invertedColors = {"accent":"button__accent_aikqz","loader":"button__loader_aikqz","primary":"button__primary_aikqz","secondary":"button__secondary_aikqz","outlined":"button__outlined_aikqz","tertiary":"button__tertiary_aikqz","filled":"button__filled_aikqz","transparent":"button__transparent_aikqz","link":"button__link_aikqz","text":"button__text_aikqz","ghost":"button__ghost_aikqz","component":"button__component_aikqz","loading":"button__loading_aikqz"}; | ||
require('./inverted.css') | ||
@@ -28,0 +28,0 @@ |
@@ -13,9 +13,9 @@ 'use strict'; | ||
var defaultColors = {"primary":"button__primary_1arqq","loader":"button__loader_1arqq","secondary":"button__secondary_1arqq","text":"button__text_1arqq","ghost":"button__ghost_1arqq","component":"button__component_1arqq","loading":"button__loading_1arqq","outlined":"button__outlined_1arqq","tertiary":"button__tertiary_1arqq","transparent":"button__transparent_1arqq","link":"button__link_1arqq"}; | ||
var defaultColors = {"primary":"button__primary_4hsz9","loader":"button__loader_4hsz9","secondary":"button__secondary_4hsz9","text":"button__text_4hsz9","ghost":"button__ghost_4hsz9","component":"button__component_4hsz9","loading":"button__loading_4hsz9","outlined":"button__outlined_4hsz9","tertiary":"button__tertiary_4hsz9","transparent":"button__transparent_4hsz9","link":"button__link_4hsz9"}; | ||
require('./default.desktop.css') | ||
var styles = {"size-32":"button__size-32_qm35a","size-40":"button__size-40_qm35a","size-48":"button__size-48_qm35a","size-56":"button__size-56_qm35a","size-64":"button__size-64_qm35a","size-72":"button__size-72_qm35a"}; | ||
var styles = {"size-32":"button__size-32_1ko2x","size-40":"button__size-40_1ko2x","size-48":"button__size-48_1ko2x","size-56":"button__size-56_1ko2x","size-64":"button__size-64_1ko2x","size-72":"button__size-72_1ko2x"}; | ||
require('./desktop.css') | ||
var invertedColors = {"primary":"button__primary_wzi4n","loader":"button__loader_wzi4n","secondary":"button__secondary_wzi4n","text":"button__text_wzi4n","ghost":"button__ghost_wzi4n","component":"button__component_wzi4n","loading":"button__loading_wzi4n","outlined":"button__outlined_wzi4n","tertiary":"button__tertiary_wzi4n","transparent":"button__transparent_wzi4n","link":"button__link_wzi4n"}; | ||
var invertedColors = {"primary":"button__primary_1mzgz","loader":"button__loader_1mzgz","secondary":"button__secondary_1mzgz","text":"button__text_1mzgz","ghost":"button__ghost_1mzgz","component":"button__component_1mzgz","loading":"button__loading_1mzgz","outlined":"button__outlined_1mzgz","tertiary":"button__tertiary_1mzgz","transparent":"button__transparent_1mzgz","link":"button__link_1mzgz"}; | ||
require('./inverted.desktop.css') | ||
@@ -22,0 +22,0 @@ |
@@ -9,9 +9,9 @@ import { __rest, __assign } from 'tslib'; | ||
var defaultColors = {"accent":"button__accent_1phfi","loader":"button__loader_1phfi","primary":"button__primary_1phfi","secondary":"button__secondary_1phfi","outlined":"button__outlined_1phfi","tertiary":"button__tertiary_1phfi","filled":"button__filled_1phfi","transparent":"button__transparent_1phfi","link":"button__link_1phfi","text":"button__text_1phfi","ghost":"button__ghost_1phfi","component":"button__component_1phfi","loading":"button__loading_1phfi"}; | ||
var defaultColors = {"accent":"button__accent_1r569","loader":"button__loader_1r569","primary":"button__primary_1r569","secondary":"button__secondary_1r569","outlined":"button__outlined_1r569","tertiary":"button__tertiary_1r569","filled":"button__filled_1r569","transparent":"button__transparent_1r569","link":"button__link_1r569","text":"button__text_1r569","ghost":"button__ghost_1r569","component":"button__component_1r569","loading":"button__loading_1r569"}; | ||
require('./default.css') | ||
var commonStyles = {"component":"button__component_6iv4t","hug":"button__hug_6iv4t","fill":"button__fill_6iv4t","hint":"button__hint_6iv4t","allowBackdropBlur":"button__allowBackdropBlur_6iv4t","secondary":"button__secondary_6iv4t","accent":"button__accent_6iv4t","primary":"button__primary_6iv4t","focused":"button__focused_6iv4t","loading":"button__loading_6iv4t","label":"button__label_6iv4t","addons":"button__addons_6iv4t","stretchText":"button__stretchText_6iv4t","loader":"button__loader_6iv4t","size-32":"button__size-32_6iv4t","iconOnly":"button__iconOnly_6iv4t","size-40":"button__size-40_6iv4t","size-48":"button__size-48_6iv4t","size-56":"button__size-56_6iv4t","size-64":"button__size-64_6iv4t","size-72":"button__size-72_6iv4t","withRightAddons":"button__withRightAddons_6iv4t","ghost":"button__ghost_6iv4t","text":"button__text_6iv4t","withLeftAddons":"button__withLeftAddons_6iv4t","link":"button__link_6iv4t","transparent":"button__transparent_6iv4t","block":"button__block_6iv4t","nowrap":"button__nowrap_6iv4t","rounded":"button__rounded_6iv4t"}; | ||
var commonStyles = {"component":"button__component_vd2gz","hug":"button__hug_vd2gz","fill":"button__fill_vd2gz","hint":"button__hint_vd2gz","allowBackdropBlur":"button__allowBackdropBlur_vd2gz","secondary":"button__secondary_vd2gz","accent":"button__accent_vd2gz","primary":"button__primary_vd2gz","focused":"button__focused_vd2gz","loading":"button__loading_vd2gz","label":"button__label_vd2gz","addons":"button__addons_vd2gz","stretchText":"button__stretchText_vd2gz","loader":"button__loader_vd2gz","size-32":"button__size-32_vd2gz","iconOnly":"button__iconOnly_vd2gz","size-40":"button__size-40_vd2gz","size-48":"button__size-48_vd2gz","size-56":"button__size-56_vd2gz","size-64":"button__size-64_vd2gz","size-72":"button__size-72_vd2gz","withRightAddons":"button__withRightAddons_vd2gz","ghost":"button__ghost_vd2gz","text":"button__text_vd2gz","withLeftAddons":"button__withLeftAddons_vd2gz","link":"button__link_vd2gz","transparent":"button__transparent_vd2gz","block":"button__block_vd2gz","nowrap":"button__nowrap_vd2gz","rounded":"button__rounded_vd2gz"}; | ||
require('./index.css') | ||
var invertedColors = {"accent":"button__accent_1y11o","loader":"button__loader_1y11o","primary":"button__primary_1y11o","secondary":"button__secondary_1y11o","outlined":"button__outlined_1y11o","tertiary":"button__tertiary_1y11o","filled":"button__filled_1y11o","transparent":"button__transparent_1y11o","link":"button__link_1y11o","text":"button__text_1y11o","ghost":"button__ghost_1y11o","component":"button__component_1y11o","loading":"button__loading_1y11o"}; | ||
var invertedColors = {"accent":"button__accent_aikqz","loader":"button__loader_aikqz","primary":"button__primary_aikqz","secondary":"button__secondary_aikqz","outlined":"button__outlined_aikqz","tertiary":"button__tertiary_aikqz","filled":"button__filled_aikqz","transparent":"button__transparent_aikqz","link":"button__link_aikqz","text":"button__text_aikqz","ghost":"button__ghost_aikqz","component":"button__component_aikqz","loading":"button__loading_aikqz"}; | ||
require('./inverted.css') | ||
@@ -18,0 +18,0 @@ |
@@ -5,9 +5,9 @@ import { __assign } from 'tslib'; | ||
var defaultColors = {"primary":"button__primary_1arqq","loader":"button__loader_1arqq","secondary":"button__secondary_1arqq","text":"button__text_1arqq","ghost":"button__ghost_1arqq","component":"button__component_1arqq","loading":"button__loading_1arqq","outlined":"button__outlined_1arqq","tertiary":"button__tertiary_1arqq","transparent":"button__transparent_1arqq","link":"button__link_1arqq"}; | ||
var defaultColors = {"primary":"button__primary_4hsz9","loader":"button__loader_4hsz9","secondary":"button__secondary_4hsz9","text":"button__text_4hsz9","ghost":"button__ghost_4hsz9","component":"button__component_4hsz9","loading":"button__loading_4hsz9","outlined":"button__outlined_4hsz9","tertiary":"button__tertiary_4hsz9","transparent":"button__transparent_4hsz9","link":"button__link_4hsz9"}; | ||
require('./default.desktop.css') | ||
var styles = {"size-32":"button__size-32_qm35a","size-40":"button__size-40_qm35a","size-48":"button__size-48_qm35a","size-56":"button__size-56_qm35a","size-64":"button__size-64_qm35a","size-72":"button__size-72_qm35a"}; | ||
var styles = {"size-32":"button__size-32_1ko2x","size-40":"button__size-40_1ko2x","size-48":"button__size-48_1ko2x","size-56":"button__size-56_1ko2x","size-64":"button__size-64_1ko2x","size-72":"button__size-72_1ko2x"}; | ||
require('./desktop.css') | ||
var invertedColors = {"primary":"button__primary_wzi4n","loader":"button__loader_wzi4n","secondary":"button__secondary_wzi4n","text":"button__text_wzi4n","ghost":"button__ghost_wzi4n","component":"button__component_wzi4n","loading":"button__loading_wzi4n","outlined":"button__outlined_wzi4n","tertiary":"button__tertiary_wzi4n","transparent":"button__transparent_wzi4n","link":"button__link_wzi4n"}; | ||
var invertedColors = {"primary":"button__primary_1mzgz","loader":"button__loader_1mzgz","secondary":"button__secondary_1mzgz","text":"button__text_1mzgz","ghost":"button__ghost_1mzgz","component":"button__component_1mzgz","loading":"button__loading_1mzgz","outlined":"button__outlined_1mzgz","tertiary":"button__tertiary_1mzgz","transparent":"button__transparent_1mzgz","link":"button__link_1mzgz"}; | ||
require('./inverted.desktop.css') | ||
@@ -14,0 +14,0 @@ |
@@ -5,9 +5,9 @@ import { __assign } from 'tslib'; | ||
var defaultColors = {"primary":"button__primary_4njpq","loader":"button__loader_4njpq","secondary":"button__secondary_4njpq","text":"button__text_4njpq","ghost":"button__ghost_4njpq","component":"button__component_4njpq","loading":"button__loading_4njpq","outlined":"button__outlined_4njpq","tertiary":"button__tertiary_4njpq","transparent":"button__transparent_4njpq","link":"button__link_4njpq"}; | ||
var defaultColors = {"primary":"button__primary_4bwqi","loader":"button__loader_4bwqi","secondary":"button__secondary_4bwqi","text":"button__text_4bwqi","ghost":"button__ghost_4bwqi","component":"button__component_4bwqi","loading":"button__loading_4bwqi","outlined":"button__outlined_4bwqi","tertiary":"button__tertiary_4bwqi","transparent":"button__transparent_4bwqi","link":"button__link_4bwqi"}; | ||
require('./default.mobile.css') | ||
var invertedColors = {"primary":"button__primary_1ji6e","loader":"button__loader_1ji6e","secondary":"button__secondary_1ji6e","text":"button__text_1ji6e","ghost":"button__ghost_1ji6e","component":"button__component_1ji6e","loading":"button__loading_1ji6e","outlined":"button__outlined_1ji6e","tertiary":"button__tertiary_1ji6e","transparent":"button__transparent_1ji6e","link":"button__link_1ji6e"}; | ||
var invertedColors = {"primary":"button__primary_b78ux","loader":"button__loader_b78ux","secondary":"button__secondary_b78ux","text":"button__text_b78ux","ghost":"button__ghost_b78ux","component":"button__component_b78ux","loading":"button__loading_b78ux","outlined":"button__outlined_b78ux","tertiary":"button__tertiary_b78ux","transparent":"button__transparent_b78ux","link":"button__link_b78ux"}; | ||
require('./inverted.mobile.css') | ||
var styles = {"size-32":"button__size-32_ab3j0","size-40":"button__size-40_ab3j0","size-48":"button__size-48_ab3j0","size-56":"button__size-56_ab3j0","size-64":"button__size-64_ab3j0","size-72":"button__size-72_ab3j0"}; | ||
var styles = {"size-32":"button__size-32_1dbsh","size-40":"button__size-40_1dbsh","size-48":"button__size-48_1dbsh","size-56":"button__size-56_1dbsh","size-64":"button__size-64_1dbsh","size-72":"button__size-72_1dbsh"}; | ||
require('./mobile.css') | ||
@@ -14,0 +14,0 @@ |
@@ -13,9 +13,9 @@ 'use strict'; | ||
var defaultColors = {"primary":"button__primary_4njpq","loader":"button__loader_4njpq","secondary":"button__secondary_4njpq","text":"button__text_4njpq","ghost":"button__ghost_4njpq","component":"button__component_4njpq","loading":"button__loading_4njpq","outlined":"button__outlined_4njpq","tertiary":"button__tertiary_4njpq","transparent":"button__transparent_4njpq","link":"button__link_4njpq"}; | ||
var defaultColors = {"primary":"button__primary_4bwqi","loader":"button__loader_4bwqi","secondary":"button__secondary_4bwqi","text":"button__text_4bwqi","ghost":"button__ghost_4bwqi","component":"button__component_4bwqi","loading":"button__loading_4bwqi","outlined":"button__outlined_4bwqi","tertiary":"button__tertiary_4bwqi","transparent":"button__transparent_4bwqi","link":"button__link_4bwqi"}; | ||
require('./default.mobile.css') | ||
var invertedColors = {"primary":"button__primary_1ji6e","loader":"button__loader_1ji6e","secondary":"button__secondary_1ji6e","text":"button__text_1ji6e","ghost":"button__ghost_1ji6e","component":"button__component_1ji6e","loading":"button__loading_1ji6e","outlined":"button__outlined_1ji6e","tertiary":"button__tertiary_1ji6e","transparent":"button__transparent_1ji6e","link":"button__link_1ji6e"}; | ||
var invertedColors = {"primary":"button__primary_b78ux","loader":"button__loader_b78ux","secondary":"button__secondary_b78ux","text":"button__text_b78ux","ghost":"button__ghost_b78ux","component":"button__component_b78ux","loading":"button__loading_b78ux","outlined":"button__outlined_b78ux","tertiary":"button__tertiary_b78ux","transparent":"button__transparent_b78ux","link":"button__link_b78ux"}; | ||
require('./inverted.mobile.css') | ||
var styles = {"size-32":"button__size-32_ab3j0","size-40":"button__size-40_ab3j0","size-48":"button__size-48_ab3j0","size-56":"button__size-56_ab3j0","size-64":"button__size-64_ab3j0","size-72":"button__size-72_ab3j0"}; | ||
var styles = {"size-32":"button__size-32_1dbsh","size-40":"button__size-40_1dbsh","size-48":"button__size-48_1dbsh","size-56":"button__size-56_1dbsh","size-64":"button__size-64_1dbsh","size-72":"button__size-72_1dbsh"}; | ||
require('./mobile.css') | ||
@@ -22,0 +22,0 @@ |
@@ -8,9 +8,9 @@ import React, { useRef, useState, useEffect } from 'react'; | ||
const defaultColors = {"accent":"button__accent_1phfi","loader":"button__loader_1phfi","primary":"button__primary_1phfi","secondary":"button__secondary_1phfi","outlined":"button__outlined_1phfi","tertiary":"button__tertiary_1phfi","filled":"button__filled_1phfi","transparent":"button__transparent_1phfi","link":"button__link_1phfi","text":"button__text_1phfi","ghost":"button__ghost_1phfi","component":"button__component_1phfi","loading":"button__loading_1phfi"}; | ||
const defaultColors = {"accent":"button__accent_1r569","loader":"button__loader_1r569","primary":"button__primary_1r569","secondary":"button__secondary_1r569","outlined":"button__outlined_1r569","tertiary":"button__tertiary_1r569","filled":"button__filled_1r569","transparent":"button__transparent_1r569","link":"button__link_1r569","text":"button__text_1r569","ghost":"button__ghost_1r569","component":"button__component_1r569","loading":"button__loading_1r569"}; | ||
require('./default.css') | ||
const commonStyles = {"component":"button__component_6iv4t","hug":"button__hug_6iv4t","fill":"button__fill_6iv4t","hint":"button__hint_6iv4t","allowBackdropBlur":"button__allowBackdropBlur_6iv4t","secondary":"button__secondary_6iv4t","accent":"button__accent_6iv4t","primary":"button__primary_6iv4t","focused":"button__focused_6iv4t","loading":"button__loading_6iv4t","label":"button__label_6iv4t","addons":"button__addons_6iv4t","stretchText":"button__stretchText_6iv4t","loader":"button__loader_6iv4t","size-32":"button__size-32_6iv4t","iconOnly":"button__iconOnly_6iv4t","size-40":"button__size-40_6iv4t","size-48":"button__size-48_6iv4t","size-56":"button__size-56_6iv4t","size-64":"button__size-64_6iv4t","size-72":"button__size-72_6iv4t","withRightAddons":"button__withRightAddons_6iv4t","ghost":"button__ghost_6iv4t","text":"button__text_6iv4t","withLeftAddons":"button__withLeftAddons_6iv4t","link":"button__link_6iv4t","transparent":"button__transparent_6iv4t","block":"button__block_6iv4t","nowrap":"button__nowrap_6iv4t","rounded":"button__rounded_6iv4t"}; | ||
const commonStyles = {"component":"button__component_vd2gz","hug":"button__hug_vd2gz","fill":"button__fill_vd2gz","hint":"button__hint_vd2gz","allowBackdropBlur":"button__allowBackdropBlur_vd2gz","secondary":"button__secondary_vd2gz","accent":"button__accent_vd2gz","primary":"button__primary_vd2gz","focused":"button__focused_vd2gz","loading":"button__loading_vd2gz","label":"button__label_vd2gz","addons":"button__addons_vd2gz","stretchText":"button__stretchText_vd2gz","loader":"button__loader_vd2gz","size-32":"button__size-32_vd2gz","iconOnly":"button__iconOnly_vd2gz","size-40":"button__size-40_vd2gz","size-48":"button__size-48_vd2gz","size-56":"button__size-56_vd2gz","size-64":"button__size-64_vd2gz","size-72":"button__size-72_vd2gz","withRightAddons":"button__withRightAddons_vd2gz","ghost":"button__ghost_vd2gz","text":"button__text_vd2gz","withLeftAddons":"button__withLeftAddons_vd2gz","link":"button__link_vd2gz","transparent":"button__transparent_vd2gz","block":"button__block_vd2gz","nowrap":"button__nowrap_vd2gz","rounded":"button__rounded_vd2gz"}; | ||
require('./index.css') | ||
const invertedColors = {"accent":"button__accent_1y11o","loader":"button__loader_1y11o","primary":"button__primary_1y11o","secondary":"button__secondary_1y11o","outlined":"button__outlined_1y11o","tertiary":"button__tertiary_1y11o","filled":"button__filled_1y11o","transparent":"button__transparent_1y11o","link":"button__link_1y11o","text":"button__text_1y11o","ghost":"button__ghost_1y11o","component":"button__component_1y11o","loading":"button__loading_1y11o"}; | ||
const invertedColors = {"accent":"button__accent_aikqz","loader":"button__loader_aikqz","primary":"button__primary_aikqz","secondary":"button__secondary_aikqz","outlined":"button__outlined_aikqz","tertiary":"button__tertiary_aikqz","filled":"button__filled_aikqz","transparent":"button__transparent_aikqz","link":"button__link_aikqz","text":"button__text_aikqz","ghost":"button__ghost_aikqz","component":"button__component_aikqz","loading":"button__loading_aikqz"}; | ||
require('./inverted.css') | ||
@@ -17,0 +17,0 @@ |
import React, { forwardRef } from 'react'; | ||
import { BaseButton } from '../components/base-button/Component.js'; | ||
const defaultColors = {"primary":"button__primary_1arqq","loader":"button__loader_1arqq","secondary":"button__secondary_1arqq","text":"button__text_1arqq","ghost":"button__ghost_1arqq","component":"button__component_1arqq","loading":"button__loading_1arqq","outlined":"button__outlined_1arqq","tertiary":"button__tertiary_1arqq","transparent":"button__transparent_1arqq","link":"button__link_1arqq"}; | ||
const defaultColors = {"primary":"button__primary_4hsz9","loader":"button__loader_4hsz9","secondary":"button__secondary_4hsz9","text":"button__text_4hsz9","ghost":"button__ghost_4hsz9","component":"button__component_4hsz9","loading":"button__loading_4hsz9","outlined":"button__outlined_4hsz9","tertiary":"button__tertiary_4hsz9","transparent":"button__transparent_4hsz9","link":"button__link_4hsz9"}; | ||
require('./default.desktop.css') | ||
const styles = {"size-32":"button__size-32_qm35a","size-40":"button__size-40_qm35a","size-48":"button__size-48_qm35a","size-56":"button__size-56_qm35a","size-64":"button__size-64_qm35a","size-72":"button__size-72_qm35a"}; | ||
const styles = {"size-32":"button__size-32_1ko2x","size-40":"button__size-40_1ko2x","size-48":"button__size-48_1ko2x","size-56":"button__size-56_1ko2x","size-64":"button__size-64_1ko2x","size-72":"button__size-72_1ko2x"}; | ||
require('./desktop.css') | ||
const invertedColors = {"primary":"button__primary_wzi4n","loader":"button__loader_wzi4n","secondary":"button__secondary_wzi4n","text":"button__text_wzi4n","ghost":"button__ghost_wzi4n","component":"button__component_wzi4n","loading":"button__loading_wzi4n","outlined":"button__outlined_wzi4n","tertiary":"button__tertiary_wzi4n","transparent":"button__transparent_wzi4n","link":"button__link_wzi4n"}; | ||
const invertedColors = {"primary":"button__primary_1mzgz","loader":"button__loader_1mzgz","secondary":"button__secondary_1mzgz","text":"button__text_1mzgz","ghost":"button__ghost_1mzgz","component":"button__component_1mzgz","loading":"button__loading_1mzgz","outlined":"button__outlined_1mzgz","tertiary":"button__tertiary_1mzgz","transparent":"button__transparent_1mzgz","link":"button__link_1mzgz"}; | ||
require('./inverted.desktop.css') | ||
@@ -12,0 +12,0 @@ |
import React, { forwardRef } from 'react'; | ||
import { BaseButton } from '../components/base-button/Component.js'; | ||
const defaultColors = {"primary":"button__primary_4njpq","loader":"button__loader_4njpq","secondary":"button__secondary_4njpq","text":"button__text_4njpq","ghost":"button__ghost_4njpq","component":"button__component_4njpq","loading":"button__loading_4njpq","outlined":"button__outlined_4njpq","tertiary":"button__tertiary_4njpq","transparent":"button__transparent_4njpq","link":"button__link_4njpq"}; | ||
const defaultColors = {"primary":"button__primary_4bwqi","loader":"button__loader_4bwqi","secondary":"button__secondary_4bwqi","text":"button__text_4bwqi","ghost":"button__ghost_4bwqi","component":"button__component_4bwqi","loading":"button__loading_4bwqi","outlined":"button__outlined_4bwqi","tertiary":"button__tertiary_4bwqi","transparent":"button__transparent_4bwqi","link":"button__link_4bwqi"}; | ||
require('./default.mobile.css') | ||
const invertedColors = {"primary":"button__primary_1ji6e","loader":"button__loader_1ji6e","secondary":"button__secondary_1ji6e","text":"button__text_1ji6e","ghost":"button__ghost_1ji6e","component":"button__component_1ji6e","loading":"button__loading_1ji6e","outlined":"button__outlined_1ji6e","tertiary":"button__tertiary_1ji6e","transparent":"button__transparent_1ji6e","link":"button__link_1ji6e"}; | ||
const invertedColors = {"primary":"button__primary_b78ux","loader":"button__loader_b78ux","secondary":"button__secondary_b78ux","text":"button__text_b78ux","ghost":"button__ghost_b78ux","component":"button__component_b78ux","loading":"button__loading_b78ux","outlined":"button__outlined_b78ux","tertiary":"button__tertiary_b78ux","transparent":"button__transparent_b78ux","link":"button__link_b78ux"}; | ||
require('./inverted.mobile.css') | ||
const styles = {"size-32":"button__size-32_ab3j0","size-40":"button__size-40_ab3j0","size-48":"button__size-48_ab3j0","size-56":"button__size-56_ab3j0","size-64":"button__size-64_ab3j0","size-72":"button__size-72_ab3j0"}; | ||
const styles = {"size-32":"button__size-32_1dbsh","size-40":"button__size-40_1dbsh","size-48":"button__size-48_1dbsh","size-56":"button__size-56_1dbsh","size-64":"button__size-64_1dbsh","size-72":"button__size-72_1dbsh"}; | ||
require('./mobile.css') | ||
@@ -12,0 +12,0 @@ |
{ | ||
"name": "@alfalab/core-components-button", | ||
"version": "11.4.3", | ||
"version": "11.4.4", | ||
"description": "", | ||
@@ -19,3 +19,3 @@ "gitHead": "f054fef20200664c65e2501ef1f916c555cdf05d", | ||
"@alfalab/core-components-mq": "^4.2.0", | ||
"@alfalab/core-components-spinner": "^3.3.0", | ||
"@alfalab/core-components-spinner": "^3.3.1", | ||
"@alfalab/core-components-shared": "^0.10.0", | ||
@@ -22,0 +22,0 @@ "@alfalab/hooks": "^1.13.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
465016
9051