tyrell-components 1.0.0-TC60 → 1.0.0-TC61

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.
@@ -117,13 +117,6 @@ export declare class TySelect extends TyComponent<SelectState> {
117
117
  visual: boolean;
118
118
  default: boolean;
119
119
  };
120
- align: {
121
- type: "string";
122
- visual: boolean;
123
- default: string;
124
- validate: (v: any) => boolean;
125
- coerce: (v: any) => "start" | "end" | "center";
126
- };
127
120
  placement: {
128
121
  type: "string";
129
122
  visual: boolean;
@@ -444,8 +437,6 @@ export declare class TySelect extends TyComponent<SelectState> {
444
437
  set debounce(value: number | string);
445
438
  get size(): Size;
446
439
  set size(value: Size);
447
- get align(): "start" | "center" | "end";
448
- set align(value: "start" | "center" | "end");
449
440
  get placement(): Placement | "";
450
441
  set placement(value: Placement | "");
451
442
  get flavor(): Flavor;
@@ -286,13 +286,7 @@ const cssWidth = parseFloat(getComputedStyle(this).getPropertyValue("--ty-select
286
286
  const popupWidth = !isNaN(cssWidth)
287
287
  ? cssWidth
288
288
  : Math.max(stubRect.width, 320);
289
- const requested = this.getProperty("placement");
290
- const anchored = requested
291
- ? placementToAnchored(requested)
292
- : {
293
- side: "auto",
294
- align: this.getProperty("align"),
295
- };
289
+ const anchored = placementToAnchored(this.getProperty("placement"));
296
290
  const pos = computeAnchoredPosition({
297
291
  anchorRect: stubRect,
298
292
  popupWidth,
@@ -1218,12 +1212,6 @@ return this.getProperty("size");
1218
1212
  set size(value) {
1219
1213
  this.setProperty("size", value);
1220
1214
  }
1221
- get align() {
1222
- return this.getProperty("align");
1223
- }
1224
- set align(value) {
1225
- this.setProperty("align", value);
1226
- }
1227
1215
  get placement() {
1228
1216
  return this.getProperty("placement");
1229
1217
  }
@@ -1333,13 +1321,6 @@ type: "boolean",
1333
1321
  visual: true,
1334
1322
  default: false,
1335
1323
  },
1336
- align: {
1337
- type: "string",
1338
- visual: true,
1339
- default: "start",
1340
- validate: (v) => ["start", "center", "end"].includes(v),
1341
- coerce: (v) => v === "end" ? "end" : v === "center" ? "center" : "start",
1342
- },
1343
1324
  placement: {
1344
1325
  type: "string",
1345
1326
  visual: true,
package/lib/version.d.ts CHANGED
@@ -4,4 +4,4 @@
4
4
  * This is automatically synced with package.json during build.
5
5
  * Use `npm version` to bump versions.
6
6
  */
7
- export declare const VERSION = "1.0.0-TC60";
7
+ export declare const VERSION = "1.0.0-TC61";
package/lib/version.js CHANGED
@@ -1 +1 @@
1
- export const VERSION = '1.0.0-TC60';
1
+ export const VERSION = '1.0.0-TC61';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tyrell-components",
3
- "version": "1.0.0-TC60",
3
+ "version": "1.0.0-TC61",
4
4
  "description": "Tyrell Components - Framework-agnostic web components with semantic design system",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -155,10 +155,11 @@
155
155
  "scripts": {
156
156
  "dev": "vite",
157
157
  "generate:version": "node scripts/generate-version.js",
158
- "build:lib": "npm run generate:version && tsc --project tsconfig.lib.json && tsc --project tsconfig.lib.dts.json && node scripts/strip-lib-comments.mjs",
159
- "build:cdn": "npm run generate:version && vite build --config vite.config.cdn.ts && esbuild css/tyrell.css css/tyrell-theme.css css/tyrell-colors-static.css --minify --outdir=dist",
160
- "build:dev": "npm run generate:version && vite build --config vite.config.dev.ts && esbuild css/tyrell.css css/tyrell-theme.css css/tyrell-colors-static.css --minify --outdir=dist",
161
- "build:dev:watch": "vite build --config vite.config.dev.ts --watch",
158
+ "build:lib": "npm run generate:version && npm run build:css && tsc --project tsconfig.lib.json && tsc --project tsconfig.lib.dts.json && node scripts/strip-lib-comments.mjs",
159
+ "build:css": "node scripts/build-css.mjs",
160
+ "build:cdn": "npm run generate:version && vite build --config vite.config.cdn.ts && npm run build:css",
161
+ "build:dev": "npm run generate:version && vite build --config vite.config.dev.ts && npm run build:css",
162
+ "build:dev:watch": "node scripts/build-css.mjs --watch & vite build --config vite.config.dev.ts --watch",
162
163
  "build": "npm run build:lib && npm run build:cdn",
163
164
  "prepublishOnly": "npm run build",
164
165
  "preview": "vite preview",