accomadesc 0.2.37 → 0.3.0
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/dist/names/gen.js +3737 -4
- package/dist/occuplan/OccuPlanGrid.svelte +6 -3
- package/dist/occuplan/OccuPlanPicker.svelte +5 -3
- package/dist/occuplan/OccuPlanRows.svelte +8 -0
- package/dist/types.d.ts +8 -1
- package/package.json +7 -6
- package/dist/names/adjectives.json +0 -1
- package/dist/names/plants.json +0 -2518
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { DateTime, type MonthNumbers } from 'luxon';
|
|
3
|
-
import * as Sqrl from 'squirrelly';
|
|
4
3
|
import {
|
|
5
4
|
defaultMonthHeaderFormat,
|
|
6
5
|
defaultMonthLabels,
|
|
@@ -61,10 +60,14 @@
|
|
|
61
60
|
}
|
|
62
61
|
});
|
|
63
62
|
|
|
64
|
-
let formatFun = $derived(Sqrl.compile(monthHeaderFormat, { useWith: true }));
|
|
63
|
+
//let formatFun = $derived(Sqrl.compile(monthHeaderFormat, { useWith: true }));
|
|
65
64
|
const monthHeader = (monthNum: MonthNumbers, year: number): string => {
|
|
66
65
|
const monthLabel = monthLabels[monthNum];
|
|
67
|
-
|
|
66
|
+
|
|
67
|
+
let formatted = monthHeaderFormat.replace('{{month}}', monthLabel);
|
|
68
|
+
formatted = formatted.replace('{{year}}', `${year}`);
|
|
69
|
+
|
|
70
|
+
return formatted;
|
|
68
71
|
};
|
|
69
72
|
|
|
70
73
|
let page: number = $state(0);
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { DateTime, type MonthNumbers } from 'luxon';
|
|
3
|
-
import * as Sqrl from 'squirrelly';
|
|
4
3
|
import {
|
|
5
4
|
defaultMonthHeaderFormat,
|
|
6
5
|
defaultMonthLabels,
|
|
@@ -68,10 +67,13 @@
|
|
|
68
67
|
}
|
|
69
68
|
});
|
|
70
69
|
|
|
71
|
-
let formatFun = $derived(Sqrl.compile(monthHeaderFormat, { useWith: true }));
|
|
72
70
|
const monthHeader = (monthNum: MonthNumbers, year: number): string => {
|
|
73
71
|
const monthLabel = monthLabels[monthNum];
|
|
74
|
-
|
|
72
|
+
|
|
73
|
+
let formatted = monthHeaderFormat.replace('{{month}}', monthLabel);
|
|
74
|
+
formatted = formatted.replace('{{year}}', `${year}`);
|
|
75
|
+
|
|
76
|
+
return formatted;
|
|
75
77
|
};
|
|
76
78
|
|
|
77
79
|
let maxWidth = $derived(`${numberOfMonth * 18}rem`);
|
|
@@ -282,6 +282,10 @@
|
|
|
282
282
|
container-name: month-label;
|
|
283
283
|
padding-left: 0.3rem;
|
|
284
284
|
height: 100%;
|
|
285
|
+
|
|
286
|
+
span {
|
|
287
|
+
color: var(--occuplan-months-font-color);
|
|
288
|
+
}
|
|
285
289
|
}
|
|
286
290
|
|
|
287
291
|
@container month-label (min-height: 0) {
|
|
@@ -300,6 +304,10 @@
|
|
|
300
304
|
color: var(--occuplan-days-header-font-color);
|
|
301
305
|
container-type: size;
|
|
302
306
|
container-name: month-header;
|
|
307
|
+
|
|
308
|
+
span {
|
|
309
|
+
color: var(--occuplan-days-header-font-color);
|
|
310
|
+
}
|
|
303
311
|
}
|
|
304
312
|
|
|
305
313
|
@container month-header (min-width: 0) {
|
package/dist/types.d.ts
CHANGED
|
@@ -335,7 +335,14 @@ export interface SiteConfig {
|
|
|
335
335
|
nav: Nav;
|
|
336
336
|
pages: PageConfig;
|
|
337
337
|
lang: LangConfig;
|
|
338
|
-
css:
|
|
338
|
+
css: Style;
|
|
339
|
+
}
|
|
340
|
+
export interface Style {
|
|
341
|
+
base: string;
|
|
342
|
+
themes: {
|
|
343
|
+
light: string;
|
|
344
|
+
dark: string;
|
|
345
|
+
};
|
|
339
346
|
}
|
|
340
347
|
export interface PageConfig {
|
|
341
348
|
'/': PageProps;
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "accomadesc",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"dev": "vite dev",
|
|
6
|
-
"build": "vite build && npm run package",
|
|
6
|
+
"build": "vite build --minify false && npm run package",
|
|
7
7
|
"preview": "vite preview",
|
|
8
8
|
"prepare": "svelte-kit sync || echo ''",
|
|
9
9
|
"prepack": "svelte-kit sync && svelte-package && publint",
|
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@sveltejs/adapter-auto": "^3.3.1",
|
|
43
|
+
"@sveltejs/adapter-static": "^3.0.8",
|
|
43
44
|
"@sveltejs/kit": "^2.20.5",
|
|
44
45
|
"@sveltejs/package": "^2.3.10",
|
|
45
46
|
"@sveltejs/vite-plugin-svelte": "^5.0.3",
|
|
@@ -47,11 +48,11 @@
|
|
|
47
48
|
"gdpr-cooco-banner": "^0.0.11",
|
|
48
49
|
"prettier": "^3.5.3",
|
|
49
50
|
"prettier-plugin-svelte": "^3.3.3",
|
|
50
|
-
"publint": "^0.3.
|
|
51
|
-
"svelte": "^5.
|
|
52
|
-
"svelte-check": "^4.1.
|
|
51
|
+
"publint": "^0.3.11",
|
|
52
|
+
"svelte": "^5.26.2",
|
|
53
|
+
"svelte-check": "^4.1.6",
|
|
53
54
|
"typescript": "^5.8.3",
|
|
54
|
-
"vite": "^6.2.
|
|
55
|
+
"vite": "^6.2.6"
|
|
55
56
|
},
|
|
56
57
|
"dependencies": {
|
|
57
58
|
"@dinero.js/currencies": "2.0.0-alpha.14",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
["able","above","absent","absolute","abstract","abundant","academic","acceptable","accepted","accessible","accurate","accused","active","actual","acute","added","additional","adequate","adjacent","administrative","adorable","advanced","adverse","advisory","aesthetic","afraid","african","aggregate","aggressive","agreeable","agreed","agricultural","alert","alive","alleged","allied","alone","alright","alternative","amateur","amazing","ambitious","american","amused","ancient","angry","annoyed","annual","anonymous","anxious","appalling","apparent","applicable","appropriate","arab","arbitrary","architectural","armed","arrogant","artificial","artistic","ashamed","asian","asleep","assistant","associated","atomic","attractive","australian","automatic","autonomous","available","average","awake","aware","awful","awkward","back","bad","balanced","bare","basic","beautiful","beneficial","better","bewildered","big","binding","biological","bitter","bizarre","black","blank","blind","blonde","bloody","blue","blushing","boiling","bold","bored","boring","bottom","brainy","brave","breakable","breezy","brief","bright","brilliant","british","broad","broken","brown","bumpy","burning","busy","calm","canadian","capable","capitalist","careful","casual","catholic","causal","cautious","central","certain","changing","characteristic","charming","cheap","cheerful","chemical","chief","chilly","chinese","chosen","christian","chronic","chubby","circular","civic","civil","civilian","classic","classical","clean","clear","clever","clinical","close","closed","cloudy","clumsy","coastal","cognitive","coherent","cold","collective","colonial","colorful","colossal","coloured","colourful","combative","combined","comfortable","coming","commercial","common","communist","compact","comparable","comparative","compatible","competent","competitive","complete","complex","complicated","comprehensive","compulsory","conceptual","concerned","concrete","condemned","confident","confidential","confused","conscious","conservation","conservative","considerable","consistent","constant","constitutional","contemporary","content","continental","continued","continuing","continuous","controlled","controversial","convenient","conventional","convinced","convincing","cooing","cool","cooperative","corporate","correct","corresponding","costly","courageous","crazy","creative","creepy","criminal","critical","crooked","crowded","crucial","crude","cruel","cuddly","cultural","curious","curly","current","curved","cute","daily","damaged","damp","dangerous","dark","dead","deaf","deafening","dear","decent","decisive","deep","defeated","defensive","defiant","definite","deliberate","delicate","delicious","delighted","delightful","democratic","dependent","depressed","desirable","desperate","detailed","determined","developed","developing","devoted","different","difficult","digital","diplomatic","direct","dirty","disabled","disappointed","disastrous","disciplinary","disgusted","distant","distinct","distinctive","distinguished","disturbed","disturbing","diverse","divine","dizzy","domestic","dominant","double","doubtful","drab","dramatic","dreadful","driving","drunk","dry","dual","due","dull","dusty","dutch","dying","dynamic","eager","early","eastern","easy","economic","educational","eerie","effective","efficient","elaborate","elated","elderly","eldest","electoral","electric","electrical","electronic","elegant","eligible","embarrassed","embarrassing","emotional","empirical","empty","enchanting","encouraging","endless","energetic","english","enormous","enthusiastic","entire","entitled","envious","environmental","equal","equivalent","essential","established","estimated","ethical","ethnic","european","eventual","everyday","evident","evil","evolutionary","exact","excellent","exceptional","excess","excessive","excited","exciting","exclusive","existing","exotic","expected","expensive","experienced","experimental","explicit","extended","extensive","external","extra","extraordinary","extreme","exuberant","faint","fair","faithful","familiar","famous","fancy","fantastic","far","fascinating","fashionable","fast","fat","fatal","favourable","favourite","federal","fellow","female","feminist","few","fierce","filthy","final","financial","fine","firm","fiscal","fit","fixed","flaky","flat","flexible","fluffy","fluttering","flying","following","fond","foolish","foreign","formal","formidable","forthcoming","fortunate","forward","fragile","frail","frantic","free","french","frequent","fresh","friendly","frightened","front","frozen","fucking","full","full-time","fun","functional","fundamental","funny","furious","future","fuzzy","gastric","gay","general","generous","genetic","gentle","genuine","geographical","german","giant","gigantic","given","glad","glamorous","gleaming","global","glorious","golden","good","gorgeous","gothic","governing","graceful","gradual","grand","grateful","greasy","great","greek","green","grey","grieving","grim","gross","grotesque","growing","grubby","grumpy","guilty","handicapped","handsome","happy","hard","harsh","head","healthy","heavy","helpful","helpless","hidden","high","high-pitched","hilarious","hissing","historic","historical","hollow","holy","homeless","homely","hon","honest","horizontal","horrible","hostile","hot","huge","human","hungry","hurt","hushed","husky","icy","ideal","identical","ideological","ill","illegal","imaginative","immediate","immense","imperial","implicit","important","impossible","impressed","impressive","improved","inadequate","inappropriate","inc","inclined","increased","increasing","incredible","independent","indian","indirect","individual","industrial","inevitable","influential","informal","inherent","initial","injured","inland","inner","innocent","innovative","inquisitive","instant","institutional","insufficient","intact","integral","integrated","intellectual","intelligent","intense","intensive","interested","interesting","interim","interior","intermediate","internal","international","intimate","invisible","involved","iraqi","irish","irrelevant","islamic","isolated","israeli","italian","itchy","japanese","jealous","jewish","jittery","joint","jolly","joyous","judicial","juicy","junior","just","keen","key","kind","known","korean","labour","large","large-scale","late","latin","lazy","leading","left","legal","legislative","legitimate","lengthy","lesser","level","lexical","liable","liberal","light","like","likely","limited","linear","linguistic","liquid","literary","little","live","lively","living","local","logical","lonely","long","long-term","loose","lost","loud","lovely","low","loyal","lucky","mad","magenta","magic","magnetic","magnificent","main","major","male","mammoth","managerial","managing","manual","many","marginal","marine","marked","married","marvellous","marxist","mass","massive","mathematical","mature","maximum","mean","meaningful","mechanical","medical","medieval","melodic","melted","mental","mere","metropolitan","mid","middle","middle-class","mighty","mild","military","miniature","minimal","minimum","ministerial","minor","miserable","misleading","missing","misty","mixed","moaning","mobile","moderate","modern","modest","molecular","monetary","monthly","moral","motionless","muddy","multiple","mushy","musical","mute","mutual","mysterious","naked","narrow","nasty","national","native","natural","naughty","naval","near","nearby","neat","necessary","negative","neighbouring","nervous","net","neutral","new","nice","nineteenth-century","noble","noisy","normal","northern","nosy","notable","novel","nuclear","numerous","nursing","nutritious","nutty","obedient","objective","obliged","obnoxious","obvious","occasional","occupational","odd","official","ok","okay","old","old-fashioned","olympic","only","open","operational","opposite","optimistic","oral","orange","ordinary","organic","organisational","original","orthodox","other","outdoor","outer","outrageous","outside","outstanding","overall","overseas","overwhelming","painful","pale","palestinian","panicky","parallel","parental","parliamentary","part-time","partial","particular","passing","passive","past","patient","payable","peaceful","peculiar","perfect","permanent","persistent","personal","petite","philosophical","physical","pink","plain","planned","plastic","pleasant","pleased","poised","polish","polite","political","poor","popular","positive","possible","post-war","potential","powerful","practical","precious","precise","preferred","pregnant","preliminary","premier","prepared","present","presidential","pretty","previous","prickly","primary","prime","primitive","principal","printed","prior","private","probable","productive","professional","profitable","profound","progressive","prominent","promising","proper","proposed","prospective","protective","protestant","proud","provincial","psychiatric","psychological","public","puny","pure","purple","purring","puzzled","quaint","qualified","quick","quickest","quiet","racial","radical","rainy","random","rapid","rare","raspy","rational","ratty","raw","ready","real","realistic","rear","reasonable","recent","red","reduced","redundant","regional","registered","regular","regulatory","related","relative","relaxed","relevant","reliable","relieved","religious","reluctant","remaining","remarkable","remote","renewed","representative","repulsive","required","resident","residential","resonant","respectable","respective","responsible","resulting","retail","retired","revolutionary","rich","ridiculous","right","rigid","ripe","rising","rival","roasted","robust","rolling","roman","romantic","rotten","rough","round","royal","rubber","rude","ruling","running","rural","russian","sacred","sad","safe","salty","satisfactory","satisfied","scared","scary","scattered","scientific","scornful","scottish","scrawny","screeching","secondary","secret","secure","select","selected","selective","selfish","semantic","senior","sensible","sensitive","separate","serious","severe","sexual","shaggy","shaky","shallow","shared","sharp","sheer","shiny","shivering","shocked","short","short-term","shrill","shy","sick","significant","silent","silky","silly","similar","simple","single","skilled","skinny","sleepy","slight","slim","slimy","slippery","slow","small","smart","smiling","smoggy","smooth","so-called","social","socialist","soft","solar","sole","solid","sophisticated","sore","sorry","sound","sour","southern","soviet","spanish","spare","sparkling","spatial","special","specific","specified","spectacular","spicy","spiritual","splendid","spontaneous","sporting","spotless","spotty","square","squealing","stable","stale","standard","static","statistical","statutory","steady","steep","sticky","stiff","still","stingy","stormy","straight","straightforward","strange","strategic","strict","striking","striped","strong","structural","stuck","stupid","subjective","subsequent","substantial","subtle","successful","successive","sudden","sufficient","suitable","sunny","super","superb","superior","supporting","supposed","supreme","sure","surprised","surprising","surrounding","surviving","suspicious","sweet","swift","swiss","symbolic","sympathetic","systematic","tall","tame","tan","tart","tasteless","tasty","technical","technological","teenage","temporary","tender","tense","terrible","territorial","testy","then","theoretical","thick","thin","thirsty","thorough","thoughtful","thoughtless","thundering","tight","tiny","tired","top","tory","total","tough","toxic","traditional","tragic","tremendous","tricky","tropical","troubled","turkish","typical","ugliest","ugly","ultimate","unable","unacceptable","unaware","uncertain","unchanged","uncomfortable","unconscious","underground","underlying","unemployed","uneven","unexpected","unfair","unfortunate","unhappy","uniform","uninterested","unique","united","universal","unknown","unlikely","unnecessary","unpleasant","unsightly","unusual","unwilling","upper","upset","uptight","urban","urgent","used","useful","useless","usual","vague","valid","valuable","variable","varied","various","varying","vast","verbal","vertical","very","victorian","victorious","video-taped","violent","visible","visiting","visual","vital","vivacious","vivid","vocational","voiceless","voluntary","vulnerable","wandering","warm","wasteful","watery","weak","wealthy","weary","wee","weekly","weird","welcome","well","well-known","welsh","western","wet","whispering","white","whole","wicked","wide","wide-eyed","widespread","wild","willing","wise","witty","wonderful","wooden","working","working-class","worldwide","worried","worrying","worthwhile","worthy","written","wrong","yellow","young","yummy","zany","zealous"]
|