@seed-design/css 0.0.29 → 0.0.30

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/all.css CHANGED
@@ -122,6 +122,10 @@
122
122
  --seed-box-position: initial;
123
123
  display: var(--seed-box-display);
124
124
  position: var(--seed-box-position);
125
+ --seed-box-unstable-transform: initial;
126
+ transform: var(--seed-box-unstable-transform);
127
+ --seed-box-z-index: initial;
128
+ z-index: var(--seed-box-z-index);
125
129
  --seed-box-overflow-x: initial;
126
130
  --seed-box-overflow-y: initial;
127
131
  overflow-x: var(--seed-box-overflow-x);
@@ -1886,6 +1890,202 @@
1886
1890
  --seed-prefix-icon-color: var(--seed-color-fg-critical);
1887
1891
  }
1888
1892
 
1893
+ .seed-contextual-floating-button {
1894
+ box-sizing: border-box;
1895
+ cursor: pointer;
1896
+ text-transform: none;
1897
+ -webkit-font-smoothing: antialiased;
1898
+ -moz-osx-font-smoothing: grayscale;
1899
+ border: none;
1900
+ justify-content: center;
1901
+ align-items: center;
1902
+ font-family: inherit;
1903
+ text-decoration: none;
1904
+ display: inline-flex;
1905
+ }
1906
+
1907
+ .seed-contextual-floating-button:is(:focus, [data-focus]) {
1908
+ outline: none;
1909
+ }
1910
+
1911
+ .seed-contextual-floating-button:is(:disabled, [disabled], [data-disabled]) {
1912
+ cursor: not-allowed;
1913
+ }
1914
+
1915
+ .seed-contextual-floating-button {
1916
+ border-radius: var(--seed-radius-full);
1917
+ font-size: var(--seed-font-size-t4);
1918
+ line-height: var(--seed-line-height-t4);
1919
+ font-weight: var(--seed-font-weight-medium);
1920
+ --seed-box-z-index: initial;
1921
+ z-index: var(--seed-box-z-index);
1922
+ --seed-box-position: initial;
1923
+ position: var(--seed-box-position);
1924
+ --seed-box-top: initial;
1925
+ --seed-box-right: initial;
1926
+ --seed-box-bottom: initial;
1927
+ --seed-box-left: initial;
1928
+ top: var(--seed-box-top);
1929
+ right: var(--seed-box-right);
1930
+ bottom: var(--seed-box-bottom);
1931
+ left: var(--seed-box-left);
1932
+ --seed-icon-size: 22px;
1933
+ --size: 16px;
1934
+ --thickness: 2px;
1935
+ transition: background-color var(--seed-duration-d4) var(--seed-timing-function-easing);
1936
+ box-shadow: 0 2px 6px #00000026;
1937
+ }
1938
+
1939
+ .seed-contextual-floating-button--variant_solid {
1940
+ background: var(--seed-color-bg-neutral-inverted);
1941
+ color: var(--seed-color-fg-neutral-inverted);
1942
+ --seed-icon-color: var(--seed-color-fg-neutral-inverted);
1943
+ --seed-prefix-icon-color: var(--seed-color-fg-neutral-inverted);
1944
+ --track-color: var(--seed-color-palette-gray-700);
1945
+ --range-color: var(--seed-color-fg-neutral-inverted);
1946
+ }
1947
+
1948
+ .seed-contextual-floating-button--variant_solid:is(:active, [data-active]) {
1949
+ background: var(--seed-color-bg-neutral-inverted-pressed);
1950
+ }
1951
+
1952
+ .seed-contextual-floating-button--variant_solid:is(:disabled, [disabled], [data-disabled]) {
1953
+ background: var(--seed-color-bg-disabled);
1954
+ color: var(--seed-color-fg-disabled);
1955
+ --seed-prefix-icon-color: var(--seed-color-fg-disabled);
1956
+ --seed-icon-color: var(--seed-color-fg-disabled);
1957
+ }
1958
+
1959
+ .seed-contextual-floating-button--variant_solid[data-loading] {
1960
+ background: var(--seed-color-bg-neutral-inverted-pressed);
1961
+ }
1962
+
1963
+ .seed-contextual-floating-button--variant_layer {
1964
+ background: var(--seed-color-bg-layer-floating);
1965
+ color: var(--seed-color-fg-neutral);
1966
+ --seed-icon-color: var(--seed-color-fg-neutral);
1967
+ --seed-prefix-icon-color: var(--seed-color-fg-neutral);
1968
+ --track-color: var(--seed-color-palette-gray-500);
1969
+ --range-color: var(--seed-color-fg-neutral);
1970
+ }
1971
+
1972
+ .seed-contextual-floating-button--variant_layer:is(:active, [data-active]) {
1973
+ background: var(--seed-color-bg-layer-floating-pressed);
1974
+ }
1975
+
1976
+ .seed-contextual-floating-button--variant_layer:is(:disabled, [disabled], [data-disabled]) {
1977
+ background: var(--seed-color-bg-disabled);
1978
+ color: var(--seed-color-fg-disabled);
1979
+ --seed-prefix-icon-color: var(--seed-color-fg-disabled);
1980
+ --seed-icon-color: var(--seed-color-fg-disabled);
1981
+ }
1982
+
1983
+ .seed-contextual-floating-button--variant_layer[data-loading] {
1984
+ background: var(--seed-color-bg-layer-floating-pressed);
1985
+ }
1986
+
1987
+ .seed-contextual-floating-button--layout_withText {
1988
+ min-height: 36px;
1989
+ padding-inline: var(--seed-dimension-x3_5);
1990
+ padding-block: var(--seed-dimension-x2);
1991
+ gap: var(--seed-dimension-x1);
1992
+ --seed-prefix-icon-size: 16px;
1993
+ }
1994
+
1995
+ .seed-contextual-floating-button--layout_iconOnly {
1996
+ --seed-icon-size: 22px;
1997
+ width: 44px;
1998
+ height: 44px;
1999
+ }
2000
+
2001
+ .seed-floating-action-button__root {
2002
+ box-sizing: border-box;
2003
+ cursor: pointer;
2004
+ text-transform: none;
2005
+ -webkit-font-smoothing: antialiased;
2006
+ -moz-osx-font-smoothing: grayscale;
2007
+ border: none;
2008
+ justify-content: center;
2009
+ align-items: center;
2010
+ font-family: inherit;
2011
+ text-decoration: none;
2012
+ display: inline-flex;
2013
+ }
2014
+
2015
+ .seed-floating-action-button__root:is(:focus, [data-focus]) {
2016
+ outline: none;
2017
+ }
2018
+
2019
+ .seed-floating-action-button__root:is(:disabled, [disabled], [data-disabled]) {
2020
+ cursor: not-allowed;
2021
+ }
2022
+
2023
+ .seed-floating-action-button__root {
2024
+ background: var(--seed-color-bg-brand-solid);
2025
+ border-radius: var(--seed-radius-full);
2026
+ color: var(--seed-color-palette-static-white);
2027
+ font-size: var(--seed-font-size-t5);
2028
+ line-height: var(--seed-line-height-t5);
2029
+ font-weight: var(--seed-font-weight-bold);
2030
+ transition: background-color var(--seed-duration-d4) var(--seed-timing-function-easing), max-width var(--seed-duration-d4) var(--seed-timing-function-easing), height var(--seed-duration-d4) var(--seed-timing-function-easing), padding var(--seed-duration-d4) var(--seed-timing-function-easing);
2031
+ position: relative;
2032
+ overflow: hidden;
2033
+ box-shadow: 0 2px 6px #00000026;
2034
+ }
2035
+
2036
+ .seed-floating-action-button__root:is(:active, [data-active]) {
2037
+ background: var(--seed-color-bg-brand-solid-pressed);
2038
+ }
2039
+
2040
+ .seed-floating-action-button__icon {
2041
+ color: var(--seed-color-palette-static-white);
2042
+ transition: margin-right var(--seed-duration-d4) var(--seed-timing-function-easing), width var(--seed-duration-d4) var(--seed-timing-function-easing), height var(--seed-duration-d4) var(--seed-timing-function-easing);
2043
+ flex-shrink: 0;
2044
+ justify-content: center;
2045
+ align-items: center;
2046
+ display: inline-flex;
2047
+ }
2048
+
2049
+ .seed-floating-action-button__label {
2050
+ word-break: keep-all;
2051
+ white-space: nowrap;
2052
+ overflow: hidden;
2053
+ }
2054
+
2055
+ .seed-floating-action-button__root--extended_true {
2056
+ padding-inline: var(--seed-dimension-x4_5);
2057
+ width: fit-content;
2058
+ max-width: 999px;
2059
+ height: 48px;
2060
+ }
2061
+
2062
+ .seed-floating-action-button__icon--extended_true {
2063
+ width: var(--seed-dimension-x5);
2064
+ height: var(--seed-dimension-x5);
2065
+ margin-right: var(--seed-dimension-x1);
2066
+ transition: none;
2067
+ }
2068
+
2069
+ .seed-floating-action-button__root--extended_false {
2070
+ min-width: 56px;
2071
+ max-width: 56px;
2072
+ height: 56px;
2073
+ padding: 0;
2074
+ }
2075
+
2076
+ .seed-floating-action-button__icon--extended_false {
2077
+ width: var(--seed-dimension-x6);
2078
+ height: var(--seed-dimension-x6);
2079
+ position: absolute;
2080
+ top: 50%;
2081
+ left: 50%;
2082
+ transform: translate(-50%, -50%);
2083
+ }
2084
+
2085
+ .seed-floating-action-button__label--extended_false {
2086
+ opacity: 0;
2087
+ }
2088
+
1889
2089
  .seed-fab {
1890
2090
  box-sizing: border-box;
1891
2091
  cursor: pointer;