Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: change version to 0.0.0 #2610

Merged
merged 1 commit into from
Jul 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .storybook/preview-head.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<link href="https://cdn.jsdelivr.net" rel="preconnect" crossorigin="anonymous">

<!-- OUDS Web CSS -->
<link href="https://cdn.jsdelivr.net/npm/ouds-web/dist/css/ouds-web.min.css" rel="stylesheet" crossorigin="anonymous">
<link href="https://cdn.jsdelivr.net/npm/@ouds/web/dist/css/ouds-web.min.css" rel="stylesheet" crossorigin="anonymous">

<!-- OUDS Web site CSS -->
<link href="https://boosted.orange.com/ouds-web/docs/0.1/assets/css/docs.css" rel="stylesheet" crossorigin="anonymous">
<link href="https://boosted.orange.com/ouds-web/docs/0.0/assets/css/docs.css" rel="stylesheet" crossorigin="anonymous">

<!-- OUDS Web JavaScript: use of `defer` because it allows to load only once the bundle (Storybook issue) -->
<script src="https://cdn.jsdelivr.net/npm/ouds-web/dist/js/ouds-web.bundle.min.js" crossorigin="anonymous" defer></script>
<script src="https://cdn.jsdelivr.net/npm/@ouds/web/dist/js/ouds-web.bundle.min.js" crossorigin="anonymous" defer></script>
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@

Several quick start options are available:

- [Download the latest release](https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/archive/v0.1.0-ouds.zip)
- [Download the latest release](https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/archive/v0.0.0-ouds.zip)
- Clone the repo: `git clone https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap.git`
- Install with [npm](https://www.npmjs.com/): `npm install @ouds/web@v0.1.0`
- Install with [yarn](https://yarnpkg.com/): `yarn add @ouds/web@v0.1.0`
- Install with [Composer](https://getcomposer.org/): `composer require Orange-OpenSource/ouds-web:0.1.0`
- Install with [npm](https://www.npmjs.com/): `npm install @ouds/web@v0.0.0`
- Install with [yarn](https://yarnpkg.com/): `yarn add @ouds/web@v0.0.0`
- Install with [Composer](https://getcomposer.org/): `composer require Orange-OpenSource/ouds-web:0.0.0`
- Install with [NuGet](https://www.nuget.org/): CSS: `Install-Package ouds-web` Sass: `Install-Package ouds-web.sass`

Read the [Getting started page](https://boosted.orange.com/docs/getting-started/introduction/) for information on the framework contents, templates, examples, and more.
Expand All @@ -51,7 +51,7 @@ Read the [Getting started page](https://boosted.orange.com/docs/getting-started/
[![CSS Brotli size](https://img.badgesize.io/Orange-OpenSource/Orange-Boosted-Bootstrap/ouds/main/dist/css/ouds-web.min.css?compression=brotli&label=CSS%20Brotli%20size)](https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/blob/ouds/main/dist/css/ouds-web.min.css)
[![JS gzip size](https://img.badgesize.io/Orange-OpenSource/Orange-Boosted-Bootstrap/ouds/main/dist/js/ouds-web.min.js?compression=gzip&label=JS%20gzip%20size)](https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/blob/ouds/main/dist/js/ouds-web.min.js)
[![JS Brotli size](https://img.badgesize.io/Orange-OpenSource/Orange-Boosted-Bootstrap/ouds/main/dist/js/ouds-web.min.js?compression=brotli&label=JS%20Brotli%20size)](https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/blob/ouds/main/dist/js/ouds-web.min.js)
[![JSDelivr](https://data.jsdelivr.com/v1/package/npm/ouds-web/badge)](https://www.jsdelivr.com/package/npm/ouds-web)
[![JSDelivr](https://data.jsdelivr.com/v1/package/npm/@ouds/web/badge)](https://www.jsdelivr.com/package/npm/@ouds/web)

## What's included

Expand Down
30 changes: 15 additions & 15 deletions hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ publishDir: "_site"
module:
mounts:
- source: dist
target: static/docs/0.1/dist
target: static/docs/0.0/dist
- source: site/assets
target: assets
- source: site/content
Expand All @@ -47,16 +47,16 @@ module:
target: static
- source: node_modules/@docsearch/css
target: assets/scss/@docsearch/css
- source: site/static/docs/0.1/assets/img/favicons/apple-touch-icon.png
- source: site/static/docs/0.0/assets/img/favicons/apple-touch-icon.png
target: static/apple-touch-icon.png
- source: site/static/docs/0.1/assets/img/favicons/favicon.ico
- source: site/static/docs/0.0/assets/img/favicons/favicon.ico
target: static/favicon.ico

# OUDS mod
- source: node_modules/tarteaucitronjs/tarteaucitron.min.js
target: static/docs/0.1/assets/js/tarteaucitron.min.js
target: static/docs/0.0/assets/js/tarteaucitron.min.js
- source: node_modules/tarteaucitronjs/lang
target: static/docs/0.1/assets/js/lang
target: static/docs/0.0/assets/js/lang
- source: site/storybook
target: static/storybook

Expand All @@ -65,9 +65,9 @@ params:
description: "Powerful, extensible, and feature-packed frontend toolkit. Build and customize with Sass, utilize prebuilt grid system and components, and bring projects to life with powerful JavaScript plugins."
authors: "Orange and OUDS Web contributors"

current_version: "0.1.0"
current_ruby_version: "0.1.0"
docs_version: "0.1"
current_version: "0.0.0"
current_ruby_version: "0.0.0"
docs_version: "0.0"
rfs_version: "v10.0.0"
bootstrap_github_org: "https://github.com/twbs"
repo: "https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap"
Expand All @@ -87,19 +87,19 @@ params:
indexName: "boosted-orange"

download:
source: "https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/archive/v0.1.0.zip"
dist: "https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/releases/download/v0.1.0-ouds/ouds-web-0.1.0-dist.zip"
dist_examples: "https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/releases/download/v0.1.0-ouds/ouds-web-0.1.0-examples.zip"
source: "https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/archive/v0.0.0-ouds-web.zip"
dist: "https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/releases/download/v0.0.0-ouds/ouds-web-0.0.0-dist.zip"
dist_examples: "https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/releases/download/v0.0.0-ouds/ouds-web-0.0.0-examples.zip"

cdn:
# See https://www.srihash.org for info on how to generate the hashes
css: "https://cdn.jsdelivr.net/npm/ouds-web@0.1.0/dist/css/ouds-web.min.css"
css: "https://cdn.jsdelivr.net/npm/@ouds/web@0.0.0/dist/css/ouds-web.min.css"
css_hash: "sha384-laZ3JUZ5Ln2YqhfBvadDpNyBo7w5qmWaRnnXuRwNhJeTEFuSdGbzl4ZGHAEnTozR"
css_rtl: "https://cdn.jsdelivr.net/npm/ouds-web@0.1.0/dist/css/ouds-web.rtl.min.css"
css_rtl: "https://cdn.jsdelivr.net/npm/@ouds/web@0.0.0/dist/css/ouds-web.rtl.min.css"
css_rtl_hash: "sha384-u0MzeBZZtzZYfm2QxXQbV14lVgTHrLKdF/uhQkWT4IYfJAPcyVsCOXVHSE9jDiYh"
js: "https://cdn.jsdelivr.net/npm/ouds-web@0.1.0/dist/js/ouds-web.min.js"
js: "https://cdn.jsdelivr.net/npm/@ouds/web@0.0.0/dist/js/ouds-web.min.js"
js_hash: "sha384-TfjOlWccrKKSEc/hJqxs6Tofoh4+tlm//VJYb92Ow7aPNtgfaKuuLsnFqObi3xmp"
js_bundle: "https://cdn.jsdelivr.net/npm/ouds-web@0.1.0/dist/js/ouds-web.bundle.min.js"
js_bundle: "https://cdn.jsdelivr.net/npm/@ouds/web@0.0.0/dist/js/ouds-web.bundle.min.js"
js_bundle_hash: "sha384-3RoJImQ+Yz4jAyP6xW29kJhqJOE3rdjuu9wkNycjCuDnGAtC/crm79mLcwj1w2o/"
popper: "https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"
popper_hash: "sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r"
Expand Down
2 changes: 1 addition & 1 deletion js/src/base-component.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { executeAfterTransition, getElement } from './util/index.js'
* Constants
*/

const VERSION = '0.1.0'
const VERSION = '0.0.0'

/**
* Class definition
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Package.describe({
name: 'Orange-OpenSource:ouds-web', // https://atmospherejs.com/Orange-OpenSource/Orange-Boosted-Bootstrap
summary: 'OUDS Web is a Bootstrap based, Orange branded accessible and ergonomic components library.',
version: '0.1.0',
version: '0.0.0',
git: 'https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap.git'
})

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "@ouds/web",
"description": "OUDS Web is a Bootstrap based, Orange branded accessible and ergonomic components library.",
"version": "0.1.0",
"version": "0.0.0",
"config": {
"version_short": "0.1"
"version_short": "0.0"
},
"keywords": [
"css",
Expand Down
2 changes: 1 addition & 1 deletion scss/mixins/_banner.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@mixin bsBanner($file) {
/*!
* OUDS Web #{$file} v0.1.0 (https://boosted.orange.com/)
* OUDS Web #{$file} v0.0.0 (https://boosted.orange.com/)
* Copyright 2014-2024 The OUDS Web Authors
* Copyright 2014-2024 Orange SA
* Licensed under MIT (https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/blob/ouds/main/LICENSE)
Expand Down
6 changes: 6 additions & 0 deletions site/content/docs/0.0/_index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
layout: redirect
sitemap:
disable: true
redirect: "/docs/0.0/getting-started/introduction/"
---
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ group: about
aliases:
- "/about/"
- "/docs/about/"
- "/docs/0.1/about/"
- "/docs/0.0/about/"
- "/docs/about/overview/"
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ group: components
aliases:
- "/components/"
- "/docs/components/"
- "/docs/0.1/components/"
- "/docs/0.0/components/"
- "/docs/components/accordion/"
toc: true
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ Navbar themes are easier than ever thanks to Bootstrap's combination of Sass and
<div class="container-fluid">
<div class="navbar-brand">
<a class="stretched-link" href="#">
<img src="/docs/0.1/assets/brand/orange-logo.svg" width="50" height="50" alt="OUDS Web - Back to Home" loading="lazy">
<img src="/docs/0.0/assets/brand/orange-logo.svg" width="50" height="50" alt="OUDS Web - Back to Home" loading="lazy">
</a>
</div>
<button class="navbar-toggler ms-auto" type="button" data-bs-toggle="collapse" data-bs-target="#navbarColor01" aria-controls="navbarColor01" aria-expanded="false" aria-label="Toggle navigation">
Expand Down Expand Up @@ -388,7 +388,7 @@ Navbar themes are easier than ever thanks to Bootstrap's combination of Sass and
<div class="container-fluid">
<div class="navbar-brand">
<a class="stretched-link" href="#">
<img src="/docs/0.1/assets/brand/orange-logo.svg" width="50" height="50" alt="OUDS Web - Back to Home" loading="lazy">
<img src="/docs/0.0/assets/brand/orange-logo.svg" width="50" height="50" alt="OUDS Web - Back to Home" loading="lazy">
</a>
</div>
<button class="navbar-toggler ms-auto" type="button" data-bs-toggle="collapse" data-bs-target="#navbarColor02" aria-controls="navbarColor02" aria-expanded="false" aria-label="Toggle navigation">
Expand Down Expand Up @@ -426,7 +426,7 @@ Navbar themes are easier than ever thanks to Bootstrap's combination of Sass and
<div class="container-fluid">
<div class="navbar-brand">
<a class="stretched-link" href="#">
<img src="/docs/0.1/assets/brand/orange-logo.svg" width="50" height="50" alt="OUDS Web - Back to Home" loading="lazy">
<img src="/docs/0.0/assets/brand/orange-logo.svg" width="50" height="50" alt="OUDS Web - Back to Home" loading="lazy">
</a>
</div>
<button class="navbar-toggler ms-auto" type="button" data-bs-toggle="collapse" data-bs-target="#navbarColor03" aria-controls="navbarColor03" aria-expanded="false" aria-label="Toggle navigation">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ group: components
aliases:
- "/docs/components/navs/"
- "/docs/components/navs-tabs/"
- "/docs/0.1/components/navs/"
- "/docs/0.0/components/navs/"
toc: true
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ group: content
aliases:
- "/content/"
- "/docs/content/"
- "/docs/0.1/content/"
- "/docs/0.0/content/"
- "/docs/content/reboot/"
toc: true
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Alternatively, you can also switch to a media query implementation thanks to our

### Contextual dark mode vs. dark variants

Before v0.1.0, OUDS Web had dark variants for some components by applying `.{component}-dark` classes. These classes don't exist anymore and have been replaced by contextual dark mode. This means that all components will automatically switch to dark mode when the `data-bs-theme` attribute is set to `dark` on the parent element or the component itself.
Before v0.0.0, OUDS Web had dark variants for some components by applying `.{component}-dark` classes. These classes don't exist anymore and have been replaced by contextual dark mode. This means that all components will automatically switch to dark mode when the `data-bs-theme` attribute is set to `dark` on the parent element or the component itself.

## Example

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: OUDS Web is supported by an extensive color system that themes our
group: customize
aliases:
- "/docs/customize/color/"
- "/docs/0.1/customize/color/"
- "/docs/0.0/customize/color/"
- "/docs/customize/color-theme/"
toc: true
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ toc: false
aliases:
- "/customize/"
- "/docs/customize/"
- "/docs/0.1/customize/"
- "/docs/0.0/customize/"
- "/docs/customize/overview/"
sections:
- title: Sass
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
/* Display the right background-image */
.example-title-bar-custom-background {
height: 1.8em;
background: url("/docs/0.1/assets/img/title-bars-illustrations/illustration-320.png") right bottom/4em no-repeat; /* 4em = `image_width/font_size`em */
background: url("/docs/0.0/assets/img/title-bars-illustrations/illustration-320.png") right bottom/4em no-repeat; /* 4em = `image_width/font_size`em */
}
@media (min-width: 480px) {
.example-title-bar-custom-background {
background: url("/docs/0.1/assets/img/title-bars-illustrations/illustration-480.png") right bottom/7.47em no-repeat;
background: url("/docs/0.0/assets/img/title-bars-illustrations/illustration-480.png") right bottom/7.47em no-repeat;
}
}
@media (min-width: 768px) {
.example-title-bar-custom-background {
background: url("/docs/0.1/assets/img/title-bars-illustrations/illustration-768.png") right bottom/7.12em no-repeat;
background: url("/docs/0.0/assets/img/title-bars-illustrations/illustration-768.png") right bottom/7.12em no-repeat;
}
}
@media (min-width: 1024px) {
.example-title-bar-custom-background {
background: url("/docs/0.1/assets/img/title-bars-illustrations/illustration-1024.png") right bottom/8.08em no-repeat;
background: url("/docs/0.0/assets/img/title-bars-illustrations/illustration-1024.png") right bottom/8.08em no-repeat;
}
}
@media (min-width: 1280px) {
.example-title-bar-custom-background {
background: url("/docs/0.1/assets/img/title-bars-illustrations/illustration-1280.png") right bottom/7.85em no-repeat;
background: url("/docs/0.0/assets/img/title-bars-illustrations/illustration-1280.png") right bottom/7.85em no-repeat;
}
}
@media (min-width: 1440px) {
.example-title-bar-custom-background {
background: url("/docs/0.1/assets/img/title-bars-illustrations/illustration-1440.png") right bottom/8.67em no-repeat;
background: url("/docs/0.0/assets/img/title-bars-illustrations/illustration-1440.png") right bottom/8.67em no-repeat;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ group: extend
aliases:
- "/extend/"
- "/docs/extend/"
- "/docs/0.1/extend/"
- "/docs/0.0/extend/"
- "/docs/extend/approach/"
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: Create consistent cross-browser and cross-device checkboxes and rad
group: forms
aliases:
- "/docs/forms/checks/"
- "/docs/0.1/forms/checks/"
- "/docs/0.0/forms/checks/"
- "/docs/forms/checks-radios/"
toc: true
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ group: forms
aliases:
- "/forms/"
- "/docs/forms/"
- "/docs/0.1/forms/"
- "/docs/0.0/forms/"
- "/docs/forms/overview/"
toc: true
sections:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ aliases:
- "/docs/forms/validation/"
toc: true
extra_js:
- src: "/docs/0.1/assets/js/validate-forms.js"
- src: "/docs/0.0/assets/js/validate-forms.js"
async: true
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ toc: true
aliases:
- "/docs/getting-started/contribute/"
- "/docs/getting-started/build-tools/"
- "/docs/0.1/getting-started/build-tools/"
- "/docs/0.0/getting-started/build-tools/"
---

## Tooling setup
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ group: getting-started
aliases:
- "/getting-started/"
- "/docs/getting-started/"
- "/docs/0.1/getting-started/"
- "/docs/0.0/getting-started/"
- "/docs/getting-started/introduction/"
toc: true
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ To fix this, you can use an `importmap` to resolve the arbitrary module names to
{
"imports": {
"@popperjs/core": "{{< param "cdn.popper_esm" >}}",
"ouds-web": "https://cdn.jsdelivr.net/npm/ouds-web@{{< param "current_version" >}}/dist/js/ouds-web.esm.min.js"
"ouds-web": "https://cdn.jsdelivr.net/npm/@ouds/web@{{< param "current_version" >}}/dist/js/ouds-web.esm.min.js"
}
}
</script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ group: helpers
aliases:
- "/helpers/"
- "/docs/helpers/"
- "/docs/0.1/helpers/"
- "/docs/0.0/helpers/"
- "/docs/helpers/clearfix/"
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ group: helpers
aliases:
- "/docs/helpers/screen-readers/"
- "/docs/helpers/visually-hidden/"
- "/docs/0.1/helpers/screen-readers/"
- "/docs/0.0/helpers/screen-readers/"
---

Visually hide an element while still allowing it to be exposed to assistive technologies (such as screen readers) with `.visually-hidden`. Use `.visually-hidden-focusable` to visually hide an element by default, but to display it when it's focused (e.g. by a keyboard-only user). `.visually-hidden-focusable` can also be applied to a container–thanks to `:focus-within`, the container will be displayed when any child element of the container receives focus.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ group: layout
aliases:
- "/layout/"
- "/docs/layout/"
- "/docs/0.1/layout/"
- "/docs/0.0/layout/"
- "/docs/layout/breakpoints/"
toc: true
---
Expand Down
Loading
Loading