@streamscloud/kit 0.21.0 → 0.21.1

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.
@@ -116,6 +116,7 @@ Pass `type="anchor"` to render as `<a>` with `href`, or `type="presentational"`
116
116
  | `--sc-kit--button--width` | Explicit width | `fit-content` |
117
117
  | `--sc-kit--button--min-width` | Minimum width | `0` |
118
118
  | `--sc-kit--button--max-width` | Maximum width | `100%` |
119
+ | `--sc-kit--button--justify-content` | Alignment of the button's content along the inline axis | `center` |
119
120
  -->
120
121
 
121
122
  <style>.btn {
@@ -134,12 +135,13 @@ Pass `type="anchor"` to render as `<a>` with `href`, or `type="presentational"`
134
135
  --_btn--width: var(--sc-kit--button--width, fit-content);
135
136
  --_btn--min-width: var(--sc-kit--button--min-width, 0);
136
137
  --_btn--max-width: var(--sc-kit--button--max-width, 100%);
138
+ --_btn--justify-content: var(--sc-kit--button--justify-content, center);
137
139
  --_btn--border-radius: var(--sc-kit--button--border-radius, var(--_btn--size-border-radius, var(--sc-kit--field--border-radius--md)));
138
140
  --_btn--font-weight: var(--sc-kit--button--font-weight, var(--sc-kit--font-weight--regular));
139
141
  box-sizing: border-box;
140
142
  display: flex;
141
143
  align-items: center;
142
- justify-content: center;
144
+ justify-content: var(--_btn--justify-content);
143
145
  gap: var(--_btn--gap);
144
146
  width: var(--_btn--width);
145
147
  min-width: var(--_btn--min-width);
@@ -73,6 +73,7 @@ type Props = ButtonModeProps | AnchorModeProps | PresentationalModeProps;
73
73
  * | `--sc-kit--button--width` | Explicit width | `fit-content` |
74
74
  * | `--sc-kit--button--min-width` | Minimum width | `0` |
75
75
  * | `--sc-kit--button--max-width` | Maximum width | `100%` |
76
+ * | `--sc-kit--button--justify-content` | Alignment of the button's content along the inline axis | `center` |
76
77
  */
77
78
  declare const Cmp: import("svelte").Component<Props, {}, "">;
78
79
  type Cmp = ReturnType<typeof Cmp>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamscloud/kit",
3
- "version": "0.21.0",
3
+ "version": "0.21.1",
4
4
  "author": "StreamsCloud",
5
5
  "repository": {
6
6
  "type": "git",